Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Removing Help button from Wizard

Removing Help button from Wizard

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi, How to totally remove the help button from a wizard (CPropertySheetEx)? thanks. p.c.

    B P 2 Replies Last reply
    0
    • L Lost User

      Hi, How to totally remove the help button from a wizard (CPropertySheetEx)? thanks. p.c.

      B Offline
      B Offline
      Bill Leibold
      wrote on last edited by
      #2

      One Way: BOOL CMyPropertySheet::OnInitDialog() { CPropertySheetEx::OnInitDialog(); // this hides the Help button CWnd* pHelpButton = GetDlgItem (IDHELP); ASSERT (pHelpButton); if (pHelpButton) pHelpButton->ShowWindow (SW_HIDE); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE } Bill

      1 Reply Last reply
      0
      • L Lost User

        Hi, How to totally remove the help button from a wizard (CPropertySheetEx)? thanks. p.c.

        P Offline
        P Offline
        Paolo Messina
        wrote on last edited by
        #3

        Search MSDN for PSP_HASHELP and PSH_HASHELP You have to remove those flags from pages/sheet to completely remove help button. You may do this in the constructor. Paolo ------ "airplane is cool, but space shuttle is even better" (J. Kaczorowski)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups