Click to See Complete Forum and Search --> : Pull Down Menu on Right Mouse click


pueromane
November 20th, 1999, 03:12 PM
I have a List View Control in my Application.
How can I make a pull down Menu when the user clicks the Right Mouse Button on an Entry.

mfG Pueromane

November 20th, 1999, 06:08 PM
Create Menu, set Visible=False and in Mous_Down event for List put:

private Sub List1_MouseDown(Button as Integer, Shift as Integer, X as Single, Y as Single)
If Button = 2 then
Form1.PopupMenu mnuFirst 'the name of Menu is mnuFirst
End If
End Sub



Vlad