Can anyone tell me how to capture the mousemove event on the notifyicon?

I have tried the following but to no avail.
    my $systray = $mw->AddNotifyIcon(
    -icon            => $icon,
    -tip             => $progname,
    -onMouseEvent      => \&systrayEvent,
I also tried hooking the main window as follows:
$mw->Hook(WM_NOTIFYICON, \&systrayEvent);

This method captures all buy mousemove..

Any help would be appreciated.



No virus found in this outgoing message.
Checked by AVG Free Edition.