|Re: Getting the menu items programmatically [message #305185 is a reply to message #305131]
||Mon, 26 June 2006 02:41
| Krassimir Kondarev
Registered: July 2009
I noticed that the display.getCursorControl() returns Shell if the mouse |
is over the menus (File, Edit ... Window, Help).
Well... we now have methods such shell.getMenuBar().getItem(index)... and
this is the index in witch the items are inserted in the menu bar.
Unfortunately the returned MenuItem instance do not contain any "size"
related information, so I can not do the location-index mapping by
itterating ovet the items... any ideas?
Powered by FUDForum
. Page generated in 0.02102 seconds