CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    3

    How to Set CPorpertyPage Text ?

    How to Change the CPorpertyPage Text?
    I have try SetWindowText() but failure.

    Can you help me ?


  2. #2
    Join Date
    Apr 1999
    Location
    Portland, OR, USA
    Posts
    29

    Re: How to Set CPorpertyPage Text ?

    You should set the name in the dialog resource that is your property page UI. Set the title of the window to whatever text you wish to have displayed in the tab.

    If you absolutely must change it at run-time, then make sure the name is being changed after the page has been created... otherwise the default name specified in the dialog resource will "overwrite" any changes you made.

    Hope this helps! Happy coding,

    =================================================
    Valerie L. Bradley
    Software Engineer
    Intel Corporation

    * All opinions expressed are mine and not those of my employer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured