Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - unhiding and unclosing panes bugs
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

unhiding and unclosing panes bugs

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


Joined: 30 April 2007
Location: New Zealand
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote adrien Quote  Post ReplyReply Direct Link To This Post Topic: unhiding and unclosing panes bugs
    Posted: 28 November 2009 at 8:48pm

We have a scenario where we need to be able to add and remove panes (which are normally tabbed). To remove, we call ClosePane, which works great.

However to have the thing come back again, how do we do that without activating it or changing the currently selected tab?

If we call ShowPane on it, it becomes shown. We don't necessarily want this (e.g. if it is behind another pane). We just want the tab shown.

Need an OpenPane call, which just puts the tab back. E.g. does an undo on the ClosePane, and nothing else.

Also, redrawpanes doesn't work. We have a browser window in one pane, which when we call NavigateTo on it, forces itself to the top of the Z-order, even if it's in a tabbed pane behind another. This means that the tabbed pane on top of it then shows the browser window (incorrect). We tried to force redraw of all panes, but this didn't actually redraw the children in the panes (so did nothing).

How do I do this?
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.184 seconds.