I have a problem when I right click an item in my listbox, before selecting it. So I intend to intercept the mouseclick event and select the index based on the location of a right click event.
Two problems:
1) It seems only the left bmouse click works. I set the ContextMenuStrip to "none" and intercept the mouseclick event. But the right click does not seem to be occuring. Is there a preference I must set?
2) how do I then manually start the context menu? If I use Show(), it opens the menu in the upper left position of the screen. How do I set the location before I open it?
Thanks,
newbieweb
Start Free Trial