Originally posted by chenko
Do you have PopupMenu Menuname in your click event for the task tray icon?
i have just realised that there is no click event for the systray icon, well at least i don't think so all i have there is
Code:
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If (X + Y ^ 16) - 1 = WM_RBUTTONDOWN Or (X + Y ^ 16) - 1 = WM_LBUTTONDOWN Then
       
       frmmain.PopupMenu mnuPop
       
       
    End If
End Sub
what should the click event for the icon be called, because all i am doing is getting an picture from a picture box and whacking it into the systray so where should i put the

Code:
frmmain.PopupMenu mnuPop
bit ??????????

cheers