Print Page | Close Window

Docking pane for MDI

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=10812
Printed Date: 18 April 2024 at 11:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Docking pane for MDI
Posted By: mgpw
Subject: Docking pane for MDI
Date Posted: 28 May 2008 at 1:10pm
Hi

I would like my MDI windows to be docking panes - please see below for more information.

I have looked at the GUI_VisualStudio example and I see that docking panes are supported in an MDI environment.

With reference to the GUI_VisualStudio example my desired behaviour would be
1. User selects "File->New->File"
2. This results in an untitled document window.
3. The user can drag this window outside of the main window (in much the same way that the solution explorer windows can be dragged).

Any help as to how to do this would be greatly appreciated.

Thanks in advance

Mark



Replies:
Posted By: mgampi
Date Posted: 29 May 2008 at 4:43am
Hi;
 
You have to create the frame window by yourself and must not derive it from CMDIChildWnd. In latter case it can't be moved outside the MDI parent area. Also you do not need to create your main frame derived from CMDIFrameWnd (unless you use MDI), just use a plain CFrameWnd.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: mgpw
Date Posted: 02 June 2008 at 3:20pm
Thanks for the response Martin.



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