
Real Simple: Enabling/disabling buttons on Dialog boxes
Get a pointer to your button (using GetDlgITem) and then use EnableWindow()
to enable/disable window.
--
Ajay Kalra
Hello all,
Given a dialog box, with several buttons, how would I, in my code,
enable/disable these buttons, when I need to? I'm new to MFC, and have
searched MSDN, and haven't found anything on this.
Thanks!
Randy