Re: How to move a toolbar?
Toolbars in dialog boxes can't be moved as a heads up, just so you know :].
but in all other cases,
Send TBN_BEGINADJUST then right after sending that send TBN_INITCUSTOMIZE. Crap, I forgot the rest, Just read up on MSDN about Toolbars, Hopefully that answers your question.
http://msdn.microsoft.com/en-us/libr...46(VS.85).aspx
Re: How to move a toolbar?
TBN_BEGINADJUST and TBN_INITCUSTOMIZE are notifications sent via WM_NOTIFY message to the parent window as a result of a user action and have not to be explicitly sent from within your application.
To see how to set the toolbar position take a look at Basic Common Control Styles, CCS_NOPARENTALIGN, CCS_BOTTOM, and so on