U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » dropdown submenu into ToolBar
dropdown submenu into ToolBar [message #37791] Mon, 12 November 2012 17:43 Go to previous message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member
Can i add a dropdown submenu in a ToolBar?
Sure it works in MainMenu!

This's what I found looking at manual:
Item& Add(bool enable, const char *text, Callback1<Bar&> proc)
Item& Add(const char *text, Callback1<Bar&> proc)
Item& Add(bool enable, const char *text, const UPP::Image& image, Callback1<Bar&> proc)
Item& Add(const char *text, const UPP::Image& image, Callback1<Bar&> proc)
Adds a submenu. For toolbar, simply adds all items of proc. enable sets the item status.


I cant understand how does it work

Regards,
Matteo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: broken pick semantics
Next Topic: Frameless(true); bug, my error or ???
Goto Forum:
  


Current Time: Mon Nov 23 23:58:22 GMT+1 2026

Total time taken to generate the page: 0.00529 seconds