CXTPTabClientWnd: auto new workspace. |
Post Reply |
Author | |
vintrip
Newbie Joined: 20 November 2007 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 13 December 2007 at 1:32pm |
Dear Readers,
I am using CXTPTabClientWnd in an MDI application. The first opened childframe take the whole client area and subsiquent windows get tabbed to the first one.
Can I make the childframe opened after the first MDI window to automatically open in new horizontally tiled workspace?
Thanks,
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
CXTPTabClientWnd calls virtual AddItem after new window appeared:
CXTPTabManagerItem* CXTPTabClientWnd::AddItem(CWnd* pChildWnd)
you can try create derived class, override this method, call base method, move tab to new group.
See source code.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |