[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

how to remove the 'help' button from a propertypage

Posted on 1999-07-27
3
Medium Priority
?
299 Views
Last Modified: 2013-11-20
I have a propertysheet application using wizardmode.

How can I remove the 'help' button that appears on the propertypage?

(I already know how to disable it)
0
Comment
Question by:Moth
3 Comments
 
LVL 3

Expert Comment

by:Shay050799
ID: 1311644
add the following to the constructor
CMypage::CMypage() : CPropertyPage(CMypage::IDD)
{
  m_psp.dwFlags &= ~PSP_HASHELP;   // disable the help button.
}

0
 
LVL 1

Author Comment

by:Moth
ID: 1311645
I already know how to do this, I need to actually remove it from the wizard dialog.


0
 
LVL 1

Accepted Solution

by:
TimB earned 200 total points
ID: 1311646
You must be using more than one property page then.

If you add the line

m_psp.dwFlags &= ~PSP_HASHELP;   // disable the help button.

to all your property page construstors, and add the following to your property sheet constructor:

      m_psh.dwFlags &= ~PSH_HASHELP;

it will remove the button.

TimB
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…
Suggested Courses

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question