COROBOR
June 1st, 1999, 05:38 AM
Hello,
Is there any way to remove (or hide) the OK and CANCEL buttons of a PropertySheet.
Thanks in advance.
COROBOR
France
Zdenek Skalnik
June 1st, 1999, 08:41 AM
Try this topic :
http://www.codeguru.com/propertysheet/hide_standard_buttons.shtml
Dexter
igor
June 1st, 1999, 08:43 AM
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 ...).