![]() |
Lock tab position |
Post Reply
|
| Author | |
guywmustang
Newbie
Joined: 17 April 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Topic: Lock tab positionPosted: 17 May 2006 at 9:19pm |
|
I was writing because I was curious if there was any way to lock the order of the panes in my DockingPaneManager. I have them locked currently so I can't drag & drop windows (as per the specs I need to do this), but I need to also make it so that they are lockable. Is there a way to do this? and I have version 9.70... is that available in that version? Thanks! |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 May 2006 at 9:18am |
|
hI, Afraid in 9.70 it was not available. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
guywmustang
Newbie
Joined: 17 April 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 May 2006 at 11:49am |
|
Which version do I need to be able to lock tab movement? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 May 2006 at 4:31pm |
|
See Actions sample. You can catch action TabDetaching.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
guywmustang
Newbie
Joined: 17 April 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 May 2006 at 6:07pm |
|
I couldn't find where you were talking about... The only of use I can find is where it says everywhere in the code m_MTIClientWnd.SetAllowReorder( BOOL allowreorder ) How do I get access to set that? I can't figure out how to access that method. I've tried things similar to the samples to no avail. Do I have to inherit something in my class? I just need to be able to call CXTPTabManager::SetAllowReorder on my docking pane manager to disable the tab movement. |
|
![]() |
|
guywmustang
Newbie
Joined: 17 April 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 May 2006 at 5:03pm |
|
Anyone know a way to prevent tabs from being moved left & right ? I don't want them to be reordered among other tabs.
And does anyone know a working way to get access to CXTPTabManager::SetAllowReorder() from the docking pane manager? The tutorials use GetParent(), but that does not return anything valid. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 May 2006 at 9:53am |
|
Hmm, seems you right and there is no method instead of overriding container/catch WM_LBUTTONDOWN etc to prevent it. For 10.2 we added simple xtpPaneActionDragging. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
guywmustang
Newbie
Joined: 17 April 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 May 2006 at 5:45pm |
|
Okay, cool, there is a way to prevent it. I'll just have to get our version upgraded at some point. so, the xtpPaneActionDragging is just for the tab sliding back & forth for the dockingpane? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 May 2006 at 12:33pm |
|
Yes :) |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |