Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi Matthew.
I just tried this and it seems to work.
I entered this code into the MouseDown event of the List box.
if nButton = 2
noDefault
endif
This disables all right clicks in the MouseDown event, but the RightClick event still fires.
HTH
-Michael M. Emmons
>When I rightclick in a listbox (to popup a shortcut menu) with miltiple selected item, all selected items are deseleted and only the item the cursor happens to be on is now highlighted. This is not my desired result. You can maintain all selections if you hold the 'ctrl' key when rightclicking. I could probably fix this by saveing all selected items to an array and then refreshing but this seems like an awful lot of work. Any suggestions??????
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement