SetFloatingFrameCaption flaw |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
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|BAnother 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.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Yes, as long as only one pane is floating, it works.
if (pAction->action == xtpPaneActionFloated)
m_paneManager.SetFloatingFrameCaption(pOtherPane->GetTitle()); |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Thanks. I understand the logic. It's just that I wish panes could be grouped side by side, similar to a CSplitterWnd with CViews... |
|
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 |