mco
asked on
How to find the parent menu of a popup menu?
Given the handle (or CMenu object) of a popup menu,
how can I get the handle (or CMenu object) of the
parent menu from which the given menu was popped?
how can I get the handle (or CMenu object) of the
parent menu from which the given menu was popped?
I don't think it is possible because a popup menu does not necessarily have a parent menu.
ASKER
Well, you are right. But in those cases where the menu was popped
up as a submenu of another menu, the system knows about it.
up as a submenu of another menu, the system knows about it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.