How do you disable a push button in MFC???
thx,
grace
[email protected]
Printable View
How do you disable a push button in MFC???
thx,
grace
[email protected]
m_PushButton.EnableWindow(FALSE);
-Safai
[ccode]
//disable it
GetDlgItem(IDC_MYBUTTON)->EnableWindow(FALSE);
//hide it
GetDlgItem(IDC_LIST)->ShowWindow(FALSE);
[//ccode]