Floating panes docked to each other |
Post Reply |
Author | |
Smucker
Senior Member Joined: 02 February 2008 Status: Offline Points: 156 |
Post Options
Thanks(0)
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) |
|
Smucker
Senior Member Joined: 02 February 2008 Status: Offline Points: 156 |
Post Options
Thanks(0)
|
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) |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
Smucker
Senior Member Joined: 02 February 2008 Status: Offline Points: 156 |
Post Options
Thanks(0)
|
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) |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
There is no easy way :( |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
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/
|
|
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 |