Print Page | Close Window

Creating a tabbed container

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=10454
Printed Date: 05 May 2024 at 9:03pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Creating a tabbed container
Posted By: Smucker
Subject: Creating a tabbed container
Date Posted: 02 May 2008 at 11:12am
I'm sure I've seen it here but I wasn't able to find the topic. And the 20 seconds between searches is frustrating!!

I want the initial look (first run) of my application to have a couple of tabbed containers, each with several panes within. How do I do this with code?

Thanks!



-------------
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)

Platform: Windows 200x/XP/Vista/Win7 (32/64 bit)

Language: Visual C++ 9.0 (Studio 2008)




Replies:
Posted By: mgampi
Date Posted: 02 May 2008 at 1:23pm
Hi;
 
In my app I did it this way: 
 
 CXTPDockingPane* pwndPane2 = m_paneManager.CreatePane(IDR_PROCESS_EXPLORER, CRect(0,0,280,300), xtpPaneDockRight);
 CXTPDockingPane* pwndPane3 = m_paneManager.CreatePane(IDD_MATERIAL, CRect(0,0,280,300), xtpPaneDockRight);
 m_paneManager.AttachPane(pwndPane3, pwndPane2);


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: Smucker
Date Posted: 02 May 2008 at 1:53pm
Perfect, thanks very much!



-------------
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)

Platform: Windows 200x/XP/Vista/Win7 (32/64 bit)

Language: Visual C++ 9.0 (Studio 2008)




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