Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27531

[VB2010] Get the Handle of a ContextMenu

$
0
0
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 :)

Viewing all articles
Browse latest Browse all 27531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>