AndersLiden
New member
- Joined
- Sep 3, 2007
- Messages
- 2
- Programming Experience
- 10+
I want to right click an item in a CheckedList box and get a small menu appearing when I do, but I just cant seem the find the documentation for selecting an item at specific mouse cursors.
My problem:
If I check the item in the CheckedListBox and then press right mouse button I have no problem, it selects the correct item, but if I only press the right mouse button over an item it will not select that item but another item in the checkedlistbox that is checked or nothing at all.
My solution:
Check the item under the mouse cursor and then show the menu.
But, alas, I cant seem to find how to check the item under the mouse cursor.
Help?
// Anders Liden
Gothenburg, Sweden.
My problem:
If I check the item in the CheckedListBox and then press right mouse button I have no problem, it selects the correct item, but if I only press the right mouse button over an item it will not select that item but another item in the checkedlistbox that is checked or nothing at all.
My solution:
Check the item under the mouse cursor and then show the menu.
But, alas, I cant seem to find how to check the item under the mouse cursor.
Help?
// Anders Liden
Gothenburg, Sweden.