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: http://msdn.microsoft.com/msdnmag/i...ge/default.aspx
0 · ·