Ctrl+Tab with multiple pane managers? |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 13 May 2008 at 5:10pm |
v11.2.2 (not tested with 12.0.0)
In an MDI-application it makes sense to have one pane manager for each frame class. Here I encounter a problem; how do I ctrl+tab between the frames using the Window-selector? It seems these key strokes are not handled correctly when multiple pane managers are alive.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Don't enable xtpPaneKeyboardUseCtrlTab option. MDIClient will handle Ctrl-Tab manually.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
A solution as always! :) However, won't this disable the window selector when using ctrl+tab? :(
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
This is bugging me! Isn't there another solution? Perhaps there should be a static function which somehow merges all docking pane managers?
In the "Active Files" section I want to see my two frames, but I only see the current one. That makes no sense.
Any ideas?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, You have implement it in your code.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Yes, I have two pane managers, but I don't know how to do it otherwise. My two frames need different pane-layout...
Is that bad design? Should I use one pane manager in the main frame instead, and hide/show the panes?
Thanks for your help!
|
|
Smucker
Senior Member Joined: 02 February 2008 Status: Offline Points: 156 |
Post Options
Thanks(0)
|
I use two (or more) pane managers, but each is for a separate top-level window, so I don't have tab issues. I would recommend a single tab manager for a single frame.
|
|
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) |
|
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 |