March 15th, 2006, 09:54 PM
Firstly, apologies about posting a similar problem because there have been different answers on what language and approach to take. This time, I'll try to describe the problem clearer.
In short, I have to display a rightclick menu only when the user rightclicks on a list item in a listbox. If the mouse is not at a list item, the menu will not appear when the user right clicks the mouse.
I used the context menu control (code included) from this website:
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.