Print Page | Close Window

SetFloatingFrameCaption flaw

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=15099
Printed Date: 21 November 2024 at 8:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SetFloatingFrameCaption flaw
Posted By: znakeeye
Subject: SetFloatingFrameCaption flaw
Date Posted: 02 September 2009 at 6:06am

SetFloatingFrameCaption sets the caption for all mini-windows. It makes sense to have different captions for different mini-windows. E.g.

Two panes are glued together:
A|B
 
Another two panes are glued together:
C|D
xtpPaneActionDocked, xtpPaneActionFloated and xtpPaneActionClosed are handled to keep this configuration. Now, if both A|B and C|D are floating (still glued) the caption should not be the same for these two. Hence, the need for a per-window-setting instead of the global one.



Replies:
Posted By: Oleg
Date Posted: 02 September 2009 at 7:09am
Hi,
 
How do you think its possible to make per-window ?  you need specify what caption to show for A|B, A|C, A|D, C|D, etc.
 
if you have only single Pane, title will be match its Title.


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


Posted By: znakeeye
Date Posted: 03 September 2009 at 3:28am
Yes, as long as only one pane is floating, it works.
 
if (pAction->action == xtpPaneActionFloated)
     m_paneManager.SetFloatingFrameCaption(pOtherPane->GetTitle());


Posted By: Oleg
Date Posted: 03 September 2009 at 6:23am

Hi,

 
SetFloatingFrameCaption only used when 2 and more panes are docked and floated together, otherwise Title of single pane is used.


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


Posted By: znakeeye
Date Posted: 06 September 2009 at 5:02pm

Thanks. I understand the logic. It's just that I wish panes could be grouped side by side, similar to a CSplitterWnd with CViews...




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