I get how you can use Shell_NotifyIcon() to set an icon in the systray, but how would you go about writing to (and constantly updating) the area there, instead of an icon? Like the system clock.

I know it's possible...I just can't figure out a normal way to do it short of setting a blank icon there, getting the position, obtaining a handle to the tray, and writing to it like that.

Any help is appreciated, thanks.