Look at the ContextMenu property of the control in question and assign to it
your own contextmenu. If this is your own control, handle the MouseDown
event. To manually show a contextmenu use its Show method.
If you still have questions, please describe your end goal not what you
think is the solution...
Thank you very much! I forgot this property and find the complicated way
that want to use that InteropServices to do this.
Regards,
ZhangZQ
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.