programming.nbk: Home | Index | Next Page: double difftime(time_t time2, time_t time1); | Previous Page: DDE
To disable an item of a dialog box to indicate the option is currently not available:
EnableWindow(hwndChild, FALSE);
This causes the control to be 'grayed out'. The control no longer responds to the keyboard or mouse.
Re-enable it with:
EnableWindow(hwndChild, TRUE);
programming.nbk: Home | Index | Next Page: double difftime(time_t time2, time_t time1); | Previous Page: DDE
Notebook exported on Monday, 7 July 2008, 18:56:06 PM Eastern Daylight Time