Print Page | Close Window

tab’s text for CXTPTabClientWnd

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=2017
Printed Date: 03 May 2024 at 2:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: tab’s text for CXTPTabClientWnd
Posted By: 9rap
Subject: tab’s text for CXTPTabClientWnd
Date Posted: 23 March 2005 at 7:47am

Hi,I do not kown how to set tab's text for CXTPTabClientWnd.Who can give me a sample or suggestion?I have asked the same question but the answer I could not understand.I have searched all the topic,someone mentions WM_XTP_GETWINDOWTEXT ,but I can not find it in the online help.

 thanks




Replies:
Posted By: Oleg
Date Posted: 25 March 2005 at 1:31am

Two options:

1. Override

CString CXTPTabClientWnd::GetItemText(const CWnd* pChildWnd) const

and retrieve what you need.

 

2. Catch WM_XTP_GETWINDOWTEXT in _CChildFrame_

and retrieve _LPCTSTR_



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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