getId() does not return ids of popup menu entries
I have a menu that has one embedded menu in it. It dislays normally.
I need to interface wih the API so that I have to deal with real hwnds.
Then:
integer a
a=getNameId("popupname") --a small integer
a=getHWND(a) --a bigger integer
a=getId(a) --a is 0 !!!
I'd expect a to have the same value than on the first assignment.
I'm trapping the WM_MENUSELECT message so as to prepare some
dynamic submenus when "popupname" is selected. Is there any simpler way?
How do I retrieve the id of that selected element, whose handle I get from
GetSubMenu()?
win98, win32lib 0.60.6
CChris
|
Not Categorized, Please Help
|
|