Print Page | Close Window

CXTPPropertyPage Change tab title

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=17749
Printed Date: 05 May 2024 at 7:48pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPPropertyPage Change tab title
Posted By: Alro
Subject: CXTPPropertyPage Change tab title
Date Posted: 05 January 2011 at 9:13am
Hello

How can I change dynamically the title of the CXTPPropertyPage

Thanks for help



Replies:
Posted By: Oleg
Date 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


Posted By: Alro
Date Posted: 31 January 2011 at 9:44am
Yes it works
Thanks



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net