Hello,
Is there any way to remove (or hide) the OK and CANCEL buttons of a PropertySheet.
Thanks in advance.
COROBOR
France
Printable View
Hello,
Is there any way to remove (or hide) the OK and CANCEL buttons of a PropertySheet.
Thanks in advance.
COROBOR
France
Try this topic :
http://www.codeguru.com/propertyshee..._buttons.shtml
Dexter
This is the line from MFC\SRC\DLGPROP.cpp file. You can find this in VC98 directory:
AFX_STATIC_DATA int _afxPropSheetButtons[] = { IDOK, IDCANCEL, ID_APPLY_NOW, IDHELP };
You can get handle of any button (CButton* btn=(CButton*)GetDlgItem(IDOK)) and do whatever you want with this button ( hide, replace, change text ...).