Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPTabClientWnd: auto new workspace.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPTabClientWnd: auto new workspace.

 Post Reply Post Reply
Author
Message
vintrip View Drop Down
Newbie
Newbie


Joined: 20 November 2007
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote vintrip Quote  Post ReplyReply Direct Link To This Post Topic: CXTPTabClientWnd: auto new workspace.
    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,
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: 14 December 2007 at 2:52pm
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
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.188 seconds.