I been working on this clock replacement program because I never find any open source ones.

I been having problem with the code and cant find a way to auto update/refresh my systray to fit my clock replacement.

I already looked all over google and news groups.

Take a look at those pics

before I run the program

after I run the program = notice I lost my AIM icon.... it overlapped the AIM icon.

my program is MFC based.

I decided to include my code for people to take a look at.

Click on the "Change Clock" button on the dailog. you will see what I mean.