Print Page | Close Window

AutoHide Panes to Foreground

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=6960
Printed Date: 12 December 2024 at 12:40pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: AutoHide Panes to Foreground
Posted By: akur
Subject: AutoHide Panes to Foreground
Date Posted: 24 April 2007 at 3:54am
Hello,

I'd like to have autohidden, expanded panes appearing _above_ floating panes.

When an autohidden pane is collapsed - like "Pane 6" here, then it's OK. But when I expand that autohidden pane, I would like to have it completely visible, not obstructed by the floating pane "Pane 7".
 



Can autohidden panes be brought to foreground somehow?
Thank you, in advance!





Replies:
Posted By: akur
Date Posted: 24 April 2007 at 5:09am
I was trying to solve this problem similar to hints in this post http://forum.codejock.com/forum_posts.asp?TID=6422&KW=top, but I couldn't use CXTPDockingPaneManager::OnCreatePane() due to the lack of on any XTPDockingPaneType type for CXTPDockingPaneAutoHideWnd.

Solving it through an overridden CXTPDockingPaneAutoHidePanel is also not possible, since CXTPDockingPaneAutoHidePanel::ShowPane() - where new CXTPDockingPaneAutoHideWnd instances are created - is not virtual.

Plus, CXTPDockingPaneAutoHideWnd has a private constructor anyway, so XTP users just cannot inherit from it.

It looks like CodeJock uses these restrictions intentionally. It's OK but what for?
Does anybody have any idea how to solve this? Because the only possible solution I can see now is quite a "quick-and-dirty" one which I'm really not into: changing directly XTP sources.


Posted By: Oleg
Date Posted: 24 April 2007 at 7:21am
Hello,
 
CXTPDockingPaneAutoHideWnd is created as child window of main frame. child window can't be above popup.


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


Posted By: akur
Date Posted: 24 April 2007 at 8:05am
I see. Indeed, it would be against the principles of Windows. And I guess there is not a big chance to have these CXTPDockingPaneAutoHideWnd windows implemented as popups in a future release of XTP, since it would probably mean a lot of extra work when compared to the childwnd-based solution, wouldn't it?

Thanks for the quick answer, anyway.




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