Print Page | Close Window

How to force a dockingwindow to slide out

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


Topic: How to force a dockingwindow to slide out
Posted By: Alex H.
Subject: How to force a dockingwindow to slide out
Date Posted: 17 March 2004 at 9:24am
How can I to force a dockingwindow to slide out ?



Replies:
Posted By: SuperMario
Date Posted: 18 March 2004 at 10:19am
Try the ShowPane method. 

 GetDockingPaneManager()->ShowPane(nID);

Where nID is the Id of the docking pane you want to show.


Posted By: Alex H.
Date Posted: 19 March 2004 at 2:21am

Unfortunately ShowPane(nID) doesn't work with pinned docking windows. It looks like ShowPane assumes the window is already visible.

 

 

 


 



Posted By: SuperMario
Date Posted: 19 March 2004 at 6:33am
Have you tried to change the status of the docking pane before you call ShowPane(nID)?  Are you saying that the window that the docking pane is attached to is not visible?


Posted By: Alex H.
Date Posted: 19 March 2004 at 6:57am

>>Have you tried to change the status of the docking pane before you call ShowPane(nID)?

How should I do that ?

>>Are you saying that the window that the docking pane is attached to is not visible?

The docking pane is pinned..I can only see its TAB.



Posted By: vladsch
Date Posted: 26 March 2004 at 2:13pm

Here is the code I use to dock a hidden pane, I could not find an reasonably easy way to slideout a hidden pane and not have it immediately slide back in:

        if (m_paneManager.IsPaneClosed(nPaneID) || m_paneManager.IsPaneHidden(nPaneID))
        {
             if (m_paneManager.IsPaneHidden(nPaneID))
             {
                 m_paneManager.ClosePane(nPaneID);
             }
             m_paneManager.ShowPane(nPaneID);
        }




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