Windows - Listbox contextual menu


when ‘multiple selection’ is enabled in the Listbox, a right mousebutton (to invoke a contextual menu) kills the multiple selections. How to overcome this?

Maybe see Karen’s post:

[quote=262542:@Peter Job]Maybe see Karen’s post:[/quote]
Solved by putting this in the Mousedown event:

if IsContextualClick then return True else return False End if

The return False is important otherwise multiple selections are not possible.
Thanks Peter.