Why doesn't Mouse Button 2 return a List Index

Why doesn't Mouse Button 2 return a List Index

Post by Tom Loa » Fri, 12 Sep 1997 04:00:00



I've noticed that on the mouse down event, if you press the right
mouse button(button 2), you get a -1 returned as a list index.  If you
do this with the left mouse button(button 1) you get the correct list
index unless you have clicked in white space at which time you get a
-1.  You also have highlighted the selection in the list box.
Is there any way to use the right mouse button and get the same
results, that is, 1. hightlight the selection and 2. get a list index
to identify the selection you just made.

Thanks,
Tom