[RESOLVED] How to trigger code when mouse is over systray icon?
I have added my application with an icon to the system tray. How do I sense when the mouse is over it?
Re: How to trigger code when mouse is over systray icon?
Regardless which method you used to receive message traffic from the tray, you should be able to trap for a WM_MouseMove message: &H200
Re: How to trigger code when mouse is over systray icon?
You need to assign WM_MOUSEMOVE message to uCallBackMessage property when you initialize NOTIFYICONDATA structure:
Code:
NID.uCallBackMessage = WM_MOUSEMOVE
NID.szTip = "Mouse is over systray icon"