[ Home | Contents | Search | Next | Previous | Up ]
Date: 11/30/99
Time: 12:11:37 AM
Q. Does anybody know how to remove the "?" in the upper
right corner (Context Help) of a property sheet dialog. In the dialogs the represent the
pages, I made sure that in the resource editor the corresponding option is not checked!
A. In SetupWindow for your first property page, after calling the base
class SetupWindow, do:
::SetWindowLong(GetParentH(), GWL_EXSTYLE,
::GetWindowLong(GetParentH(), GWL_EXSTYLE) & ~WS_EX_CONTEXTHELP).
Jonathan Schafer