Posts: 1,271
Threads: 399
Joined: Mar 2003
how do i delete the tray in TrayProcSample ?
Posts: 12,140
Threads: 142
Joined: Dec 2002
Posts: 1,271
Threads: 399
Joined: Mar 2003
thanks.
is there a way to detect mousewheel up/down like GetMod on tray ?
Posts: 12,140
Threads: 142
Joined: Dec 2002
Posts: 1,271
Threads: 399
Joined: Mar 2003
oh, you edited your posting ...
it doen't work for me.
and how would i detect if its wheel scroll direction ?
function Tray&tray msg
sel msg
,case WM_LBUTTONUP
,sel GetMod
,,case 0 out "nix"
,,case 1 out "shift"
,
,case WM_RBUTTONUP
,,shutdown -7
,,;tray.Delete
,,
,case WM_MOUSEWHEEL
,,out "mou"