I retreived a brief tutorial on toolbar creation from the collection of Masm tuts, and I implemented my own toolbar using CreateToolbarEx; the problem is that the buttons on it have a border around them that makes them appear permanently 'raised' (as opposed to contemporary tb buttons that are 'flat' and are only raised when the user positions the mouse pointer over them). How do I get rid of this border, so that the buttons behave as they normally do on contemporary toolbars? :(
This is how I create a flat toolbar.
invoke CreateWindowEx,0,
ADDR tbClass,
ADDR szDisplayName,
WS_CHILD or WS_VISIBLE or TBSTYLE_FLAT,
0,0,500,40,
hWin,NULL,
hInstance,NULL
Just check if you can use the same style with CreateToolbarEx().