Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Floating panes docked to each other
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Floating panes docked to each other

 Post Reply Post Reply
Author
Message
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 Topic: Floating panes docked to each other
    Posted: 30 January 2009 at 4:56pm
When I float panes and dock them to each other, a container window is automatically created. This is fine, but looks kind of funny. My questions are.

1) How do I detect when this happens,
2) How do I give the container window a title,
3) How do I remove the inactive pin button,
4) Is there any way for the container window to be Aero themed (shadows, etc.)?

Thanks!


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
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: 08 February 2009 at 7:06pm
If no one is able to help, perhaps Oleg could comment on what areas of the library I need to look at to figure out what's going on?

Thanks,
Phillip

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
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: 09 February 2009 at 1:07am
Hi,
 
1. See Actions sample. You need "Docked" action
2. m_paneManager.SetFloatingFrameCaption
 
3. CXTPDockingPaneMiniWnd::m_bShowPinButton = FALSE;
 
4. Just don't call SetThemedFloatingFrames in your code.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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: 09 February 2009 at 6:12am
Thanks very much, Oleg! I don't have exactly what I want, but it's certainly close enough for now. My floating frames are CJ-themed, but when docked their container now has a title, and the pin is inactive.

What I was hoping for was for free-floating panes to have a pin, but floating containers not (the pin minimizes floaters to a title bar, while on a floating container it does nothing), and to get the standard window appearance only on the container when multiple floaters are docked.

If this is easy, let me know, otherwise I'm content with what I've got.

Thanks again!
Phillip

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
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: 09 February 2009 at 8:23am

There is no easy way :(

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 April 2009 at 6:53am
I have a similar pane layout in a fullscreen-frame (see GUI_VisualStudio). That is, my panes are not floating, but are attached to a frame+panemanager.
I did this just to get rid of the caption...
PokerMemento - http://www.pokermemento.com/
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.109 seconds.