Posted 19 years ago
by Thierry Bouchard

Hey,
I just found out how to use the stuff to list automatically the toolbars in a menu using barCommands. What is bad is that our menu design is using the OwnerDrawMenuItem class and not the BarButtonCommand and BarButtonLink classes, so I cant use the BarExpanderButtonLink and the functionalities provided by it.
Id just like to know if theres a way to use the same functionality with OwnerDrawMenuItem or if Ill have to implement the code myself to display a dynamic toolbar menu. That also makes me wonder if our approach to creating menus is good since we seem to be missing a lot of built-in functionalities if we don't do like you do in the samples. Maybe I could tell if the documentation would state more explicitly what the classes are supposed to be used for.
Thx
I just found out how to use the stuff to list automatically the toolbars in a menu using barCommands. What is bad is that our menu design is using the OwnerDrawMenuItem class and not the BarButtonCommand and BarButtonLink classes, so I cant use the BarExpanderButtonLink and the functionalities provided by it.
Id just like to know if theres a way to use the same functionality with OwnerDrawMenuItem or if Ill have to implement the code myself to display a dynamic toolbar menu. That also makes me wonder if our approach to creating menus is good since we seem to be missing a lot of built-in functionalities if we don't do like you do in the samples. Maybe I could tell if the documentation would state more explicitly what the classes are supposed to be used for.
Thx