I just want to know how to get a band object in a coolbar look like a menu bar.....Like those in Internet Explorer 4.0..I've tried with a toolbar control but, it doesn't work....
Thanks.... Eric
Sun, 16 Sep 2001 03:00:00 GMT
Jeff Knap #2 / 2
The coolbar control in VB6
MS doesn't provide a child control that acts like the menu items in IE4. You can use the SoftButton control, available from MS' VB Download site, to do popup buttons with icons, but they don't offer a control that supports a caption. You can roll your own, in broad terms, by making a User Control consisting of a Label control. Use the SetCapture, ReleaseCapture, and DrawRectangle API calls to make the popup borders. There's also a sample coolbar project that has a non-supported class that transforms the toolbar into popups. Search the MS Knowledge Base for article Q179195.