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

Docking pane for MDI

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


Joined: 22 April 2008
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgpw Quote  Post ReplyReply Direct Link To This Post Topic: Docking pane for MDI
    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
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
mgpw View Drop Down
Newbie
Newbie


Joined: 22 April 2008
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgpw Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2008 at 3:20pm
Thanks for the response Martin.
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.188 seconds.