Print Page | Close Window

How to add tabs...

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=5449
Printed Date: 11 November 2025 at 4:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to add tabs...
Posted By: ContactGT
Subject: How to add tabs...
Date 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!



Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net