Advertisement

WIN32 Button Message

Started by January 20, 2002 01:09 PM
0 comments, last by encom 23 years, 1 month ago
Hi, I have made a dialog box with visual c++ 6, on this dialog box i have disable somme buttons. The question is : How to activate it by sending messages like SendDlgItemMessage(hDlg, RADIO_1, ?????, true, 0); thanks you a lot.
to disable buttons i use:

EnableWindow(GetDlgItem(hWnd,ItemID),false);


where hWnd is your handle to the window and where ItemID if the id for the button or whatever. then true to enable, false to disable

This topic is closed to new replies.

Advertisement