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. CPropertySheet:How can I hide standart buttons or change button text?

CPropertySheet:How can I hide standart buttons or change button text?

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 2 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.
  • N Offline
    N Offline
    NoName II
    wrote on last edited by
    #1

    I have CpopertySheet..WizardMode and i'd like to hide back-button for one CPropertyPage of my sheet...and rename it for another how can I do it?

    D 1 Reply Last reply
    0
    • N NoName II

      I have CpopertySheet..WizardMode and i'd like to hide back-button for one CPropertyPage of my sheet...and rename it for another how can I do it?

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

      NoName II wrote:

      and i'd like to hide back-button for one CPropertyPage...

      Use the ShowWindow() method.

      NoName II wrote:

      ...and rename it for another

      Use the SetWindowText() method.


      "The largest fire starts but with the smallest spark." - David Crow

      "Judge not by the eye but by the heart." - Native American Proverb

      N 1 Reply Last reply
      0
      • D David Crow

        NoName II wrote:

        and i'd like to hide back-button for one CPropertyPage...

        Use the ShowWindow() method.

        NoName II wrote:

        ...and rename it for another

        Use the SetWindowText() method.


        "The largest fire starts but with the smallest spark." - David Crow

        "Judge not by the eye but by the heart." - Native American Proverb

        N Offline
        N Offline
        NoName II
        wrote on last edited by
        #3

        how can I get access to te buttons?

        D 1 Reply Last reply
        0
        • N NoName II

          how can I get access to te buttons?

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

          From any of the tabs, use:

          GetParent()->GetDlgItem(IDOK)->ShowWindow(SW_HIDE);


          "The largest fire starts but with the smallest spark." - David Crow

          "Judge not by the eye but by the heart." - Native American Proverb

          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