Few menu extension (WinForms)
-
Well in my project in need of following menu extensions a) make tooltips appear on mouse over the menu item b) how can i organize the menu in multi columns - currently in one contex menu have about 100 items, whant to organize them on two panels, link "All Programs" menu in Windows Regardless
-
Well in my project in need of following menu extensions a) make tooltips appear on mouse over the menu item b) how can i organize the menu in multi columns - currently in one contex menu have about 100 items, whant to organize them on two panels, link "All Programs" menu in Windows Regardless
You'll have to ownerdraw the menu and draw the menus yourself. There are no properties to support columns in the menus. Tooltips, I don't know about. I don't think they're supported. I also don't remember seeing them in any application, at least, not in any normal application that doesn't ownerdraw everything. But, something to think about -> If I opened a menu and saw a hundred items in it, I'd click Close, then Add/Remove Programs, Uninstall. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Well in my project in need of following menu extensions a) make tooltips appear on mouse over the menu item b) how can i organize the menu in multi columns - currently in one contex menu have about 100 items, whant to organize them on two panels, link "All Programs" menu in Windows Regardless
Set the
BarBreak
property of aMenuItem
totrue
to start a new column in a context menu. For instance://In a context menu with four MenuItems
contextMenu1.MenuItems[2].BarBreak = true;
//yields:
| item1 | item3 |
| item2 | item4 |Charlie if(!curlies){ return; }