Print Page | Close Window

The position of new tab

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=2687
Printed Date: 08 November 2025 at 4:03pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: The position of new tab
Posted By: jeffcmj
Subject: The position of new tab
Date Posted: 04 August 2005 at 8:25pm

Hi,

I am making a mdi-tab app. With XTP, when a new tab is created, it appears on the right-most of the tab bar. I want to know, if I could make the new tab appear on other positions, eg, next to current active tab. If it could be done, how?

Best

Jeff




Replies:
Posted By: Oleg
Date Posted: 05 August 2005 at 11:22pm

Override

virtual CXTPTabManagerItem* AddItem(CWnd* pChildWnd);

call base member, and reorder new tab.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Oleg
Date Posted: 05 August 2005 at 11:26pm

Hi again.

Just checked Visual Studio 2003/2005. In 2003 it creates right-most, in 2005 - left-most.

So I think for enxt vrsion we will add enumerator - NewTabRightMost, NewTabLeftMost, NewTabNextToCurrent.

Thank you for idea :)



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: jeffcmj
Date Posted: 06 August 2005 at 2:24am
Cool. When will the next version come out? If it's not far away, I will just wait instead of writing my own code


Posted By: SuperMario
Date Posted: 08 August 2005 at 11:10am
I think about 2 weeks



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