How to create a dockable window with WIN32API and not MFC as image below:
http://www.passportone.com/forum/dwindow.jpg
Printable View
How to create a dockable window with WIN32API and not MFC as image below:
http://www.passportone.com/forum/dwindow.jpg
You have to test whether the window gets dragged near to a docking place and if it is, attach it there.
There is no built-in windows functionality for doing that with any window.
The exceptions are toolbar controls
ms-help://MS.VSCC/MS.MSDNVS/shellcc/platform/CommCtls/ToolBar/ToolBar.htm
and rebar controls. I don't know if they nativly support being dragged away however.