is there a way to change an icon in system tray?? ::)
BOOL Shell_NotifyIcon(
(DWORD) NIM_MODIFY,
(PNOTIFYICONDATA) lpdata
);
Just use the orginal NOTIFYICONDATA structure you used before, but just edit lpdata.hIcon.
This is in my program, but I mean, change the icon of another program in the tray. For example, the Internet connection icon changed or the icon to change the sound volume
A resource editor could be an option. Just open up the dll or exe that contains the icon you want to change (make a backup first just in case) with a resource editor, and change the icon.
Not quite what I meant, you need a running connection icon on the Internet, to change dynamically on your own. So you need to put a hook and expose their data icons, or have any other option then