Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - AutoHide Panes to Foreground
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

AutoHide Panes to Foreground

 Post Reply Post Reply
Author
Message
akur View Drop Down
Senior Member
Senior Member


Joined: 16 May 2006
Status: Offline
Points: 139
Post Options Post Options   Thanks (0) Thanks(0)   Quote akur Quote  Post ReplyReply Direct Link To This Post Topic: AutoHide Panes to Foreground
    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!


Back to Top
akur View Drop Down
Senior Member
Senior Member


Joined: 16 May 2006
Status: Offline
Points: 139
Post Options Post Options   Thanks (0) Thanks(0)   Quote akur Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
akur View Drop Down
Senior Member
Senior Member


Joined: 16 May 2006
Status: Offline
Points: 139
Post Options Post Options   Thanks (0) Thanks(0)   Quote akur Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.