I’m trying to find which event is triggered when you right click an item in a listview.
When I right an item it marks it as selected but I can’t seem to find which event is triggered.
I have attached a function to the oniteminvoked event, which is triggered correctly when I left-click an item but not when I right-click it.
Which event is triggered when I right-click an item?.
Thanks.
For what it’s worth, you should also see a selectionchanging and selectionchanged event since the listview.selection property will be updated. This is a ListView event, not an item event, but might be useful depending on what you’re trying to accomplish.