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 isOriginally posted by chenko
Do you have PopupMenu Menuname in your click event for the task tray icon?
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 theCode: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
bit ??????????Code:frmmain.PopupMenu mnuPop
cheers




Reply With Quote