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. How to make a CPropertySheet's help button invisible?

How to make a CPropertySheet's help button invisible?

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelptutorial
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.
  • F Offline
    F Offline
    fat888
    wrote on last edited by
    #1

    There's no help files in my project. And I want to make the help button invisible,or get rid of it. How can I do? Thanks. Hi guys. I'm a very fat man. Do you like fat men?

    J D 2 Replies Last reply
    0
    • F fat888

      There's no help files in my project. And I want to make the help button invisible,or get rid of it. How can I do? Thanks. Hi guys. I'm a very fat man. Do you like fat men?

      J Offline
      J Offline
      Joan M
      wrote on last edited by
      #2

      in the constructor of the property page and for each property page inserted:

      this->m_PropertyPageInsideThePropertySheet.m_psp.dwFlags &= ~PSP_HASHELP;

      and also:

      this->m_psh.dwFlags &= ~PSH_HASHELP;

      this should do the trick... hope this helps...

      1 Reply Last reply
      0
      • F fat888

        There's no help files in my project. And I want to make the help button invisible,or get rid of it. How can I do? Thanks. Hi guys. I'm a very fat man. Do you like fat men?

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        See the MSDN article Q141039. It's about the Apply button but it does mention that any of the buttons can be hidden in the same fashion. You can deactivate the Help button capability by modifying m_psh in the property sheet object as follows: mySheet.m_psh.dwFlags &= ~(PSH_HASHELP);

        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