Update: There is a new pair of menu items, "Remember Settings" and "Forget Settings". If you select "Remember Settings", all the customizable settings for the clock will be saved and the clock will start with Windows with these settings applied. "Forget Settings" will cause the program to forget the settings for the clock. You can save one set of settings for as many clocks at once as you like, as long as they are all set to different city names. One of the clocks can have an empty city name. One thing to note: if you have a clock set as say, "Sydney", and you have saved settings for it, if you then change the city name or offset to something else, your settings for clock "Sydney" will be automatically forgotten (you will get a messsagebox telling you this). This is to prevent no-longer-existing clocks from being remembered.
You can check the registry key HKEY_CURRENT_USER\"Software\Microsoft\Windows\CurrentVersion\Run" to see the list of remembered clocks.
People using this feature, please give it a workout and see if I've missed anything, I tested quite a bit but you never know. Thanks!
I had an inquiry from a W2000 user who couldn't run the clock. I originally thought it was caused by the lack of gdiplus.dll, however it turns out that the timeSetEvent_() API I'm using is not supported in W2000. So I rewrote the timing routine to use functions that should be supported in W2000, taking care to ensure that CPU usage doesn't go up. I think I have it, could people who have access to W2000 please test? Link is in first post. Thanks!
but if i zoom the clock at the maximum, i get 31%.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
@Flype: Thanks for the feedback, could I ask you for a favor? If you're getting CPU usage, could you download both versions of TransparentClock and compare to see if one uses less? They both use different timing mechanisms. I appreciate any help you can give me on this as I can't test myself. I get 0% usage for both.
but the w2000 version as you can verify on the screenshot is less memory consuming (about 500kb saved).
Last edited by Flype on Fri Nov 03, 2006 11:34 pm, edited 1 time in total.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer