Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Animated hide
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Animated hide

 Post Reply Post Reply
Author
Message
shares View Drop Down
Groupie
Groupie


Joined: 14 March 2008
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote shares Quote  Post ReplyReply Direct Link To This Post Topic: Animated hide
    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
Back to Top
shares View Drop Down
Groupie
Groupie


Joined: 14 March 2008
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote shares Quote  Post ReplyReply Direct Link To This Post Posted: 04 April 2008 at 2:23pm
Anybody have a reply to this? Pretty please?
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: 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
Back to Top
shares View Drop Down
Groupie
Groupie


Joined: 14 March 2008
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote shares Quote  Post ReplyReply Direct Link To This Post 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
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.156 seconds.