Print Page | Close Window

Animated hide

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=9988
Printed Date: 13 May 2025 at 9:29pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Animated hide
Posted By: shares
Subject: Animated hide
Date Posted: 28 March 2008 at 1:42pm
How can I cause a pane to hide programmatically. Calling the

m_paneManager.HidePane
or
m_pwndPane->Hide

cause the pane to just disappear. I want to cause it to slide out of the way.

Thanks



Replies:
Posted By: shares
Date Posted: 04 April 2008 at 2:23pm
Anybody have a reply to this? Pretty please?


Posted By: Oleg
Date Posted: 04 April 2008 at 3:01pm
Hi,
 
Try something like:
 
void CMainFrame::OnShowPane(UINT nID)
{
 m_paneManager.HidePane(nID);
 m_paneManager.ShowPane(nID);
 SetFocus();
}


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


Posted By: shares
Date Posted: 04 April 2008 at 3:55pm
The funny thing is, that ShowPane causes the pane to slide out gracefully - thats good. But HidePane causes the pane to disappear abruptly - not so good.

I want HidePane  to make the pane slide closed as gracefully as ShowPane slides it open.

Is that possible?
Thanks



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