Forcing the system tray clock to redraw
-
I've tried various pieces of sample code to find the system tray window, and the system clock window, but none of them seem to work. I even tried searching for the window by title, creating a title from the current time. No go. What I want to do it force the clock to redraw after I've updated the time. Anybody had success in this area? Peter
-
I've tried various pieces of sample code to find the system tray window, and the system clock window, but none of them seem to work. I even tried searching for the window by title, creating a title from the current time. No go. What I want to do it force the clock to redraw after I've updated the time. Anybody had success in this area? Peter
After more searches, I found it. ::SendMessage(HWND_TOPMOST, WM_TIMECHANGE, 0, 0); Peter