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

Docking Pane in CSplitterWnd

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


Joined: 11 October 2011
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote IMCL_AJS Quote  Post ReplyReply Direct Link To This Post Topic: Docking Pane in CSplitterWnd
    Posted: 11 October 2011 at 6:32am
I have an existing code that I don't want to disturb. It creates three splitter windows in CFrameWnd using CSplitterWnd. Now I want to take one splitter window and convert it into docking pane. I want to attach two dialog boxes to that docking pane . I tried following code:

CWnd* myWnd = m_SplitterWnd->GetPane(0,0); //get first window
m_paneManager.InstallDockingPanes(myWnd);

Then I added code to attach one dialog box to pane manager. But when I run it, I don't see the dialog box as docked window. Is there something missing that I need to do to view as docking pane.
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.141 seconds.