Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - The position of new tab
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

The position of new tab

 Post Reply Post Reply
Author
Message
jeffcmj View Drop Down
Groupie
Groupie


Joined: 28 October 2004
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeffcmj Quote  Post ReplyReply Direct Link To This Post Topic: The position of new tab
    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

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jeffcmj View Drop Down
Groupie
Groupie


Joined: 28 October 2004
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeffcmj Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
SuperMario View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2005 at 11:10am
I think about 2 weeks
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.063 seconds.