Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPPropertyPage Change tab title
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPPropertyPage Change tab title

 Post Reply Post Reply
Author
Message
Alro View Drop Down
Newbie
Newbie
Avatar

Joined: 13 February 2008
Location: France
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alro Quote  Post ReplyReply Direct Link To This Post Topic: CXTPPropertyPage Change tab title
    Posted: 05 January 2011 at 9:13am
Hello

How can I change dynamically the title of the CXTPPropertyPage

Thanks for help
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 06 January 2011 at 3:10am
Hi,

Try this 
CXTPPropertySheet* pSheet = (CXTPPropertySheet*)GetParent();

CXTPPropertyPageTabNavigator* pNavigator = (CXTPPropertyPageTabNavigator*)pSheet->GetNavigator();

pNavigator->GetItem(1)->SetCaption(_T("New Caption"));

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Alro View Drop Down
Newbie
Newbie
Avatar

Joined: 13 February 2008
Location: France
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alro Quote  Post ReplyReply Direct Link To This Post Posted: 31 January 2011 at 9:44am
Yes it works
Thanks
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.