Link to home
Start Free TrialLog in
Avatar of Ryan9999
Ryan9999

asked on

system tray

i know how to find the handle of the system tray

SysTrayhWnd = FindWindowEx(FindWindow("Shell_TrayWnd", ""), 0, "traynotifywnd","")

my problem is how do i hook to it so i know when it changes sizes (icon is added or deleted.)

Avatar of Richie_Simonetti
Richie_Simonetti
Flag of Argentina image

Hi Ryan9999,

A tray icon application without subclassing, encapsulated into a single form, and with all of the common system tray features:

http://www.freevbcode.com/ShowCode.Asp?ID=2055

'Hope will help.
ASKER CERTIFIED SOLUTION
Avatar of Ark
Ark
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ark is right (since EE link points to his question and use it in your own post at www.freevbcode.com).
I didn't do a post to his link since i missed it.
As always, good wirk from Ark.
Cheers.