Does anyone know how to move a child window outside the bounds of the main MDI client window.
Currently the default behaviour for an app wizard generated MDI application stops the cursor from moving past the edge of the MDI client window when dragging a child window.
I would like the cursor to be able to continue to move past the edge of the MDI when a child is being dragged.
Thanks for any help,

Moving child windows completely outside an MDI
Azin
If a window is a child of the MDIClient window you won't be able to do it. This is the way MDI is implemented in Windows.
Visual Studio itself is a useful example since it allows you to change document windows from being MDI children to floating outside the MDIClient window. To see what it's doing, I set VS to use MDI (rather than tabbed documents) and looked at the window hierarchy of the start page using Spy++ on the three document window settings (Tabbed Document, Dockable, and Floating). I found that the UI is hosted in a window of class GenericPane that, when in MDI mode, is parented to an MDI child window and, when in either of the floating modes (Dockable, Floating) is re-parented to a window that is not a descendant of the MDI client window.
So in order to have a window move outside the bounds of the MDIClient you need to make it a non-MDI child window.
I hope this is helpful,
-Ron Pihlgren
VC++ Testing
Albsalgado
I created a new window that was not related to the MDI in any way and this done the job - thanks for your help.
Gary.