N
news.microsoft.com
Hi everyone,
Please I'm creating a Context Menu and doing a manual Show from C#, on a
different thread I need to know the window size of the Context Menu already
opened, I have the object created and I have the reference to it, and I have
the handle, but I cannot get the window information.
..Net Context Menu doesn't offer nothing to get this info.
I tried calling the Window API
GetClientRec and GetWindowRec sending the handle to the context menu, but it
always return 0.
I don't know how can I get the information to that window, basically I need
location and Size.
I'm kind of hurry with it. Please if you know let me know.
Thanks,
Gustavo.
Please I'm creating a Context Menu and doing a manual Show from C#, on a
different thread I need to know the window size of the Context Menu already
opened, I have the object created and I have the reference to it, and I have
the handle, but I cannot get the window information.
..Net Context Menu doesn't offer nothing to get this info.
I tried calling the Window API
GetClientRec and GetWindowRec sending the handle to the context menu, but it
always return 0.
I don't know how can I get the information to that window, basically I need
location and Size.
I'm kind of hurry with it. Please if you know let me know.
Thanks,
Gustavo.