Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wizards--Get rid of the "Help" button

Status
Not open for further replies.

dds82

Programmer
Jun 5, 2002
251
US
I have a CPropertySheet in wizard mode. How do I get rid of the "Help" button?

Thanks.
 
Remove the PSH_WIZARDCONTEXTHELP flag from the dwFlags member of the PROPSHEETHEADER structure prior to creating the property sheet(s).
 
An easy way to achieve this is to replace the default CPropertySheet::Create() call with something like this:
Code:
BOOL bResult = MyPropertySheet.Create(NULL,
 (DWORD)(WS_SYSMENU | WS_POPUP | WS_CAPTION | DS_MODALFRAME | WS_VISIBLE),
 0);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top