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

Reinstalling pane manager

 Post Reply Post Reply
Author
Message
Fisher View Drop Down
Newbie
Newbie


Joined: 27 November 2004
Location: Russian Federation
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fisher Quote  Post ReplyReply Direct Link To This Post Topic: Reinstalling pane manager
    Posted: 27 November 2004 at 8:52am
Hi,
is there a way to move docking pane manager and its every pane to another frame window ?
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: 30 November 2004 at 3:25am

class CDockingPaneManager : public CXTPDockingPaneManager
{
public:
 void ReInstallDockingPanes(CFrameWnd* pFrame)
 {
  CFrameWnd* pSite = m_pSite;
  
  m_pSite = pFrame;
  SetParent(pFrame);
  SetWindowPos(&CWnd::wndBottom, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE);
  
  pSite->RecalcLayout();
  HideClient(FALSE); //ReParent Splitters.
 }
};

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.176 seconds.