My goal is to get the handle of the ContextMenu of a EXTERNAL application, so to close it by SendMessage.
By the API GetMenu I can get the Handle of a Menu.... but how to get the handle of a ContextMenu?? :confused:
I tryed with EnumWindows and EnumChildWindows... but in effect a ContextMenu IS NOT a window... and in fact I can't find it...
ty :)
By the API GetMenu I can get the Handle of a Menu.... but how to get the handle of a ContextMenu?? :confused:
I tryed with EnumWindows and EnumChildWindows... but in effect a ContextMenu IS NOT a window... and in fact I can't find it...
ty :)