Horrid
Programmer
- May 20, 1999
- 373
I have made my system tray icon and have a pop up menu that does come up. I have used the mousemove event and check for a mouse click, this works sometimes but usually requires two clicks and my boss cant get it to work on his laptop at all.
My current code is
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 1 Then
PopupMenu mnuTray
End If
End Sub
Can someone give me some pointers as to how to have the menu show on one mouse click consitantly. Don't need full code example just some helpfull pointers (note: if you post full code I wont complain
).
Thanks in advance
My current code is
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 1 Then
PopupMenu mnuTray
End If
End Sub
Can someone give me some pointers as to how to have the menu show on one mouse click consitantly. Don't need full code example just some helpfull pointers (note: if you post full code I wont complain

Thanks in advance