Print Page | Close Window

Docking Pane in CSplitterWnd

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=19054
Printed Date: 03 October 2022 at 9:23pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Docking Pane in CSplitterWnd
Posted By: IMCL_AJS
Subject: Docking Pane in CSplitterWnd
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net