I am trying to add a context menu to a listview. Right-clicking the listview should let the context menu appear. This part works ok.
Problem is, when i right-click in the listview (full row select), the line containing the mouse-arrow is selected, causing all previously selected lines to be deselected. This all happens before the right-click notification is sent.
I would like this behaviour to be suppressed (right-clicking should not do anything with the selection), because the context menu contains functions which should be performed on all selected items. Possible? If yes, how?
Marcel
Problem is, when i right-click in the listview (full row select), the line containing the mouse-arrow is selected, causing all previously selected lines to be deselected. This all happens before the right-click notification is sent.
I would like this behaviour to be suppressed (right-clicking should not do anything with the selection), because the context menu contains functions which should be performed on all selected items. Possible? If yes, how?
Marcel