|
-
June 1st, 1999, 05:38 AM
#1
Property sheet - remove OK/Cancel button
Hello,
Is there any way to remove (or hide) the OK and CANCEL buttons of a PropertySheet.
Thanks in advance.
COROBOR
France
-
June 1st, 1999, 08:41 AM
#2
Re: Property sheet - remove OK/Cancel button
-
June 1st, 1999, 08:43 AM
#3
Re: Property sheet - remove OK/Cancel button
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 ...).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|