Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPDockingPaneMiniWnd && GetParentFrame
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPDockingPaneMiniWnd && GetParentFrame

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


Joined: 03 December 2003
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesC Quote  Post ReplyReply Direct Link To This Post Topic: CXTPDockingPaneMiniWnd && GetParentFrame
    Posted: 12 January 2004 at 2:14pm
When a Wnd is not docked, the CFrameWnd that is returned from GetParentFrame is not the CMDIChildFrame but CXTPDockingPaneMiniWnd. How do you get from this class to the ChildFrame?
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: 13 January 2004 at 7:15am

CXTPDockingPaneTabbedContainer* pContainer = DYNAMIC_DOWNCAST(CXTPDockingPaneTabbedContainer, pWnd->GetParent());

CMDIChildWnd* pMdiChild = DYNAMIC_DOWNCAST(CMDIChildWnd, pContainer->GetDockingPaneManager()->GetSite());

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.156 seconds.