Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - tab’s text for CXTPTabClientWnd
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

tab’s text for CXTPTabClientWnd

 Post Reply Post Reply
Author
Message
9rap View Drop Down
Newbie
Newbie


Joined: 07 March 2005
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote 9rap Quote  Post ReplyReply Direct Link To This Post Topic: tab’s text for CXTPTabClientWnd
    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

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: 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
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.141 seconds.