Hi,
Have you tried using the SendKeys of VB to close the
menu. You can send a Esc key code to the SendKeys.
Regards,
Puneet Taneja
>-----Original Message-----
>Send a message to thread one to inform it close the
context menu. Don't
>change UI behaviour in another thread.
>
>
>"Gustavo Franco" <(E-Mail Removed)> wrote in
message
>news:(E-Mail Removed)...
>> Hi,
>>
>>
>>
>> Basic Question, difficult answer
>>
>>
>>
>> 1) Thread one; Open Context Menu.
>>
>>
>>
>> 2) Thread two; it needs close the Context Menu without
Mouse interaction.
>> Thread two has all the information about the Context
Menu
>>
>>
>>
>> Somebody knows how to do it?
>>
>>
>>
>> Basically I need close the ContextMenu after been
opened. Calling
>> ContextMenu.Dispose doesn't work
>>
>>
>
>
>.
>
|