Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Ctrl+Tab with multiple pane managers?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ctrl+Tab with multiple pane managers?

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Ctrl+Tab with multiple pane managers?
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 14 May 2008 at 7:32am
Hi,
 
Don't enable xtpPaneKeyboardUseCtrlTab option. MDIClient will handle Ctrl-Tab manually.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2008 at 5:22am

A solution as always! :)

However, won't this disable the window selector when using ctrl+tab? :(
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2008 at 8:56am
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?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 01 July 2008 at 1:00pm

Hi,

You have implement it in your code.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2008 at 6:47pm
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!
Back to Top
Smucker View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 February 2008
Status: Offline
Points: 156
Post Options Post Options   Thanks (0) Thanks(0)   Quote Smucker Quote  Post ReplyReply Direct Link To This Post Posted: 02 July 2008 at 6:44am
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)

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.172 seconds.