![]() |
Docking pane for MDI |
Post Reply ![]() |
Author | |
mgpw ![]() Newbie ![]() Joined: 22 April 2008 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
mgampi ![]() Senior Member ![]() ![]() Joined: 14 July 2003 Status: Offline Points: 1201 |
![]() ![]() ![]() ![]() ![]() |
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 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
mgpw ![]() Newbie ![]() Joined: 22 April 2008 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Thanks for the response Martin.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |