Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Creating a tabbed container
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Creating a tabbed container

 Post Reply Post Reply
Author
Message
Smucker View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 February 2008
Status: Offline
Points: 156
Post Options Post Options   Thanks (0) Thanks(0)   Quote Smucker Quote  Post ReplyReply Direct Link To This Post Topic: Creating a tabbed container
    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)

Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Smucker View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 February 2008
Status: Offline
Points: 156
Post Options Post Options   Thanks (0) Thanks(0)   Quote Smucker Quote  Post ReplyReply Direct Link To This Post 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)

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.164 seconds.