Print Page | Close Window

Floating panes docked to each other

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=13296
Printed Date: 08 July 2025 at 12:13am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Floating panes docked to each other
Posted By: Smucker
Subject: Floating panes docked to each other
Date 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)




Replies:
Posted By: Smucker
Date 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)



Posted By: Oleg
Date 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


Posted By: Smucker
Date 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)



Posted By: Oleg
Date Posted: 09 February 2009 at 8:23am

There is no easy way :(



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date 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/



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net