Closing a Context Menu

G

Gustavo Franco

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
 
O

Onega

Send a message to thread one to inform it close the context menu. Don't
change UI behaviour in another thread.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top