![]() |
Tab Text |
Post Reply
|
| Author | |
TerryT
Newbie
Joined: 31 August 2006 Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Topic: Tab TextPosted: 31 August 2006 at 10:34am |
|
I take solace in the fact we were all newbies once… I would like to change the tab text that is displayed for a document opened in a CXTPMDIFrameWnd
yet the document title and document path are to remain as is I have the desired text at document creation time: // create/open document . . .
but the tab CXTPTabManagerItem is not available (is yet to be created?) from CXTPTabClientWnd what is the message/event to the MainFrame that signals a tab has been added? I searched all forums/examples/et al to no avail I’m assuming I’ll need to create a new msg/command to be sent to the active view to set the tab text? Thanks! |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 August 2006 at 10:38am |
|
Hello,
CXTPTabClientWnd send WM_XTP_GETWINDOWTEXT message to CChildFrame to get tab text. Catch it and return LPCTSTR with text.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
TerryT
Newbie
Joined: 31 August 2006 Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 August 2006 at 11:30am |
|
You Rock!
Thanks for the quick reply!
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |