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. CPropertyPage / CPropertySheet problem

CPropertyPage / CPropertySheet problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
5 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.
  • S Offline
    S Offline
    SJolly
    wrote on last edited by
    #1

    Hi all, I have a set of property pages on a property sheet. I am trying to add a page to the sheet and change the title, but the title does not change. If I do: //AddPage(thepage); //SetActivePage(thepage); SetWindowText("TEST"); CString strTest; GetWindowText(strTest); Then strTest is changed to "TEST" correctly, but the text does not show up on the control. Am i missing something? Thanks and Regards, Simon

    D 1 Reply Last reply
    0
    • S SJolly

      Hi all, I have a set of property pages on a property sheet. I am trying to add a page to the sheet and change the title, but the title does not change. If I do: //AddPage(thepage); //SetActivePage(thepage); SetWindowText("TEST"); CString strTest; GetWindowText(strTest); Then strTest is changed to "TEST" correctly, but the text does not show up on the control. Am i missing something? Thanks and Regards, Simon

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

      See if MSDN article Q141487 helps. There's also the CPropertyPage protected member, m_strCaption.


      "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

      S 1 Reply Last reply
      0
      • D David Crow

        See if MSDN article Q141487 helps. There's also the CPropertyPage protected member, m_strCaption.


        "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

        S Offline
        S Offline
        SJolly
        wrote on last edited by
        #3

        Yes - the knowledge base article helped and I am now sorted. ;) Thanks very much, Simon

        D 1 Reply Last reply
        0
        • S SJolly

          Yes - the knowledge base article helped and I am now sorted. ;) Thanks very much, Simon

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

          SJolly wrote: ...and I am now sorted I was not aware this was a sorting-related problem.


          "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

          S 1 Reply Last reply
          0
          • D David Crow

            SJolly wrote: ...and I am now sorted I was not aware this was a sorting-related problem.


            "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

            S Offline
            S Offline
            SJolly
            wrote on last edited by
            #5

            Sorry, my fault: I am now titled. :-D Thanks again, Simon

            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