How to I get pull-down menus to work nicely in my wxToolBar?
Use my handy “wxMenuToolBar” class. Q: But I want to make the little down arrow a part of the actual button, so that it highlights when you mouse over it. Sorry, but you can’t. As far as I can tell, standard toolbar buttons are fixed in both width and height. You can’t create a toolbar button which is twice as wide as the others. So the alternative is to put an actual wxBitmapButton on the toolbar, as a control, right? But, unfortunately, it won’t behave as a normal toolbar button. It won’t highlight in response to a mouse over in the same way. You might be able to fake it out (with multiple images, and then test for mouse-over and change the image to one which has the box drawn around it), but unfortunately this wouldn’t appear the same on all of the different platforms. On Macintosh, especially, it would look silly. So, it’s best just to leave all of the toolbar buttons the same size. If you want, you can put a little down triangle inside the bitmap button, but only if the button sta
Related Questions
- When using GIST with other software, the pull-down menus do not come in color and even the boxes do not have the correct appearance?
- How do the options in the pull-down menus ALL SOURCES, MY SOURCES and ONE-SHOT ADVISORIES impact the search functions?
- Is is true that only Lifestyles clients get listed in the pull-down menus?