small dialog question
I'm trying to use radio buttons to enable/disable another control in a dialog box as soon as it is pressed. I know to use
but don't know where to call it. Tried calling it in my dialog class in DoDataExchange function ( if(pDX->m_bSaveAndValidate) ... )
but that doesn't work.
do u see my problem? What happens when a dialog selection is changed.
Appreciate any help...
Windows questions are off-topic for C++ and should be directed to the Windows Programming forum. You'll have better luck getting an answer there anyway.
Add a message handler for the change in the radio controls. Update whatever you want from within the message handler.
The message handler for BN_CLICKED worked:)
Apologies for being off C++ topic