> Try something like the code that I'll attach at the end. There's some
> styles that
> need adding to a toolbar before it can be put in a rebar so that the
> toolbar stops
> trying to resize itself across the top of it's parent window, and
> allows the rebar
> to correctly size it.
You were perfectly right with that, I think especially the CCS_NORESIZE and
CCS_NOPARENTALIGN constants did the trick!
> I don't have Vista, so I can't check if I got the styles right to see the
> theme
> background through the toolbar, but I've don it according to MS docs which
> say:
It now looks like I intended:
http://www.uni-bonn.de/~mwetter1/screenshot.jpg
Thanks for time and work you put into the sample script!
Best regards,
Matthias
|