Print Page | Close Window

Change Tab Location on Pane

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=919
Printed Date: 26 June 2024 at 12:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change Tab Location on Pane
Posted By: AdrianM
Subject: Change Tab Location on Pane
Date Posted: 06 July 2004 at 12:54pm

I have multiple panes attached to a single pane in my app.  It gives a tab box effect.  However the "Tabs" used to select each pane are located on the bottom of the view, and I would like to move them to the top.  How do I do this?




Replies:
Posted By: Magnetic core
Date Posted: 19 November 2004 at 12:57am

Hello AdrianM,

this is the code to put the tabs on the top of the panes (DockingPane v9.51):


CXTPDockingPanePaintManager* pPaintManager = yourManager->GetPaintManager();
pPaintManager->GetTabPaintManager()->SetPosition(xtpTa bPositionTop);

where 'yourManager' is your CXTPDockingPaneManager class.

Greetings,
Magnetic Core




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