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

Making CMDIChildWnd Dockable

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


Joined: 20 November 2007
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote vintrip Quote  Post ReplyReply Direct Link To This Post Topic: Making CMDIChildWnd Dockable
    Posted: 20 November 2007 at 5:43pm
Dear readers,
 
  I want to make the CChildFrame windows of an MDI application dockable.
 
  I did all the required stuff and during OnCreate of the CChildFrame I try to Create the pane which eventually attaches in OnDockingNotify.
 
 My problem is at this time, the MFC crashes

CMDIFrameWnd* CMDIChildWnd::GetMDIFrame() {

  .
  .
  ASSERT(pMDIFrame->m_hWndMDIClient == hWndMDIClient);
}
 
Has spmeone converted MDIChildWindows into docking pane successfully?
 
Thanks,
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 21 November 2007 at 9:05am
See Samples\ToolkitPro\MDITabWindow  sample.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.

This page was generated in 0.188 seconds.