Hi. When a user right clicks a listbox, a popup menu appears. To make the menu appear I use the following command

Code:
Private Sub AutoExecEnabled_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
PopupMenu mnuMenuOne
End If
End Sub
If I left click the listbox, the entry that the mouse is over becomes selected. I would like the same to happen when the right mouse button is clicked, before the menu appears, but currently, the entry that the mouse is over only becomes selected when the left mouse button is clicked, not if either button is clicked.

Thanks for any info on accomplishing the task would be appreciated.