Link to home
Start Free TrialLog in
Avatar of mco
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?
Avatar of Tommy Hui
Tommy Hui

I don't think it is possible because a popup menu does not necessarily have a parent menu.
Avatar of mco

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.

ASKER CERTIFIED SOLUTION
Avatar of galkin
galkin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial