AW,
???
Why my code is secret ?
I wrote this a couple of times by now:
invoke GetMenuBarInfo,handle_win, OBJID_MENU,0,addr -mbi
(Last time I asked this: handle_win is the handle of the mainwindow of the application or ?)
I check the values
_mbi.rcBar.right
_mbi.rcBar.bottom
Weird values.
They very likely should be:
right = mainwindow width
bottom = ca. 25p (menubar with text)