
Enabling/Disabling a dialog Button
Jason ,
Add a handler in the class wizard for BN_CLICKED for each of the radio
buttons. In the handler check its value with button1.GetCheck() and call
dlbutton.EnableWindow() with the appropriate value.
--
_______________________________
Craig Klementowski
Omnitech Corporate Solutions, Inc.
Formerly MediaRight Technology, Inc.
Web: www.omnitech-us.com
Remove the obvious to send me email.
_______________________________
Quote:
> I have two radio buttons let's say button1 and button2 and a dialog button
> called dlbutton. When button1 is checked I want dlbutton to be disabled
and
> when button2 is checked I want dlbutton to be enabled. How do I do the
> disabling and enabling?
Quote:
> > I have two radio buttons. When one of these buttons is checked I want a
> > Dialog button to be enabled. Any information would be helpful. Thanks.
> > --
> > Jason Schadel