FIRST OF ALL: I AM NOT USING MFC!!!!!
i have a main window and a mdi-client window.
how do i create a toolbar?
the toolbar should be right below the menu bar and um... yes.
I can already see the toolbar, just the behaviour is wrong: whenever i add a mdi-child window it is possible to move it under the toolbar -> so i can't move it out again because the toolbar is on top of it.
.) Who should be the parent of the toolbar?
The main window or the mdi-client window --- the menubar's parent is the main window and the menubar works fine (i can't move windows under it)
.)Does it matter where i declare the toolbar?
I can't click the buttons (or at least i don't see it --- maybe that's because of ??_SAVEBITS flag in the windowstyle) when i call CreateWindowEx(yada, TOOLBARCLASSNAME, yada) AFTER creating the MDI_CLIENT window. But I CAN click the buttons when i create the toolbar BEFORE the mdi-client.
But then I can move child windows under it again...