Project:
Create a dockable toolbar for a dialog that can be moved outside the parent window when undocked.
Information:
A parent dialog containing a toolbar section.
Toolbar section has a right click menu that allowing user to turn seperate toolbars on/off
Toolbars are dockable when brought to the toolbar area.
Toolbars are sizable and can be moved anywhere on the screen when undocked
Pretty much the same idea that can be seen in most programs...i.e. toobars in Microsoft Word. Now how to create this same thing with QM is the question.
By default toolbars automatically move itself to the top. To disable this you should set or remove some styles (don't remember, read in MSDN, the styles probably are documented somewhere in common control styles). Then, instead of sending TB_AUTOSIZE message, use MoveWindow for each toolbar to move it to correct position. Another solution - use rebar control. It is more difficult but then user can reorder toolbars.