> 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users http://perl-win32-gui.sourceforge.net/