![]() |
How to add tabs... |
Post Reply
|
| Author | |
ContactGT
Newbie
Joined: 30 October 2006 Status: Offline Points: 28 |
Post Options
Thanks(0)
Quote Reply
Topic: How to add tabs...Posted: 07 November 2006 at 7:05am |
|
I have a CMainFrame derived from CXTPMDIFrameWnd, which contains:
CXTPTabClientWnd m_MTIClientWnd;
CXTPDockingPaneManager m_paneManager; I have several views on the same document that I want to create as tabs. I can use CreateView to generate my views, but how do I add them as tabs?
I have tried doing this:
m_MTIClientWnd.AddItem(view);
But it doesn't work because AddItem is a protected member.
Help!
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 November 2006 at 9:04am |
|
Hi,
Tabs automatically added for all Mdi child frames only. you have to create CChildFrame for your view.
|
|
|
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 |