I'm sending mouse down signal (for left or right button) to an external application. And if in the result of this action any type of menu or child window is created I want to get it's handle.
How can I do something like this?
And is it possible to detect the fact that application is about to open menu prior to the fact of opening the menu?