Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Create (un)Dockable Toolbars in Dialog
#12
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 9 Guest(s)