DonationCoder.com Forum

DonationCoder.com Software => DC Member Programs and Projects => T-Clock => Topic started by: Stoic Joker on March 02, 2010, 06:14 PM

Title: T-Clock 2010 (download)
Post by: Stoic Joker on March 02, 2010, 06:14 PM
Stoic Joker's T-Clock 2010

Application Name T-Clock 2010
VersionBuild 95
Short Description Highly Configurable Taskbar Clock
Supported OSes  Windows 2000/XP/2003/Vista/2008/7 32 & 64 bit
Web Page www.StoicJoker.com/TClock for general info. Download is still only available here.
Download Link [ You are not allowed to view attachments ]
Download Link [ You are not allowed to view attachments ] This is LonelyPixel's build containing Henriko's Week Number fix
Download Link White Tiger's GitHub Release Page (https://github.com/White-Tiger/T-Clock/releases)
System Requirements
  • Win2k or Higher
  • Memory 512K
Version History
  • See Below
Author Stoic Joker (https://www.donationcoder.com/forum/index.php?action=profile;u=122274) - Has officially closed the project as of Saturday March 10, 2012
Source Code Stoic Joker's Last (unreleased) Build 98 (http://www.stoicjoker.com/TClock/Download.php) and then...
Author WhiteTigX (https://www.donationcoder.com/forum/index.php?action=profile;u=415641) - Grabbed the released source code and reopened the project about a year later
-+-
LonelyPixel's GitHub Source Code Repository (https://github.com/dg9ngf/T-Clock)
-+-
White Tiger's GitHub Source Code Repository (https://github.com/White-Tiger/T-Clock)


Description
The Original TClock written by Kazubon in the early 90's was a popular classic that was on the edge of extinction when Windows started going 64bit. ...I simply chose not to let that happen.

Features
The Application's features.

Planned Features
Currently Open for Suggestions.

Screenshots
Screenshots of the Application.

Usage
Installation
Extract the .zip file (where you like) & run the program.

Using the Application
Hopefully this is all covered in the help file.

Uninstallation
Close Program & delete it.

Known Issues
Currently None - But I have faith that you guys will find something wrong with it... ;)

Version History
Build 95 - Fixed Middle mouse button, and added the following features:
Build 90 - Added Font Quality option to resolve the Fuzzy Font Bugg, and Bouncing Alarm windows. (details (https://www.donationcoder.com/forum/index.php?topic=21944.msg228360#msg228360))
Okay... It's 12/23/2010, So I either have to either release this thing or change the name.
Beta 8.5 Windows 2000 Support Returns! - Thanks to MSVS2008
Beta 8 ... Same as first 8 Just repacked properly - Not a clue how I screwed that up.
Beta 8 - End of High DPI Dialog Position Bugg (also added build # to About Tab)
Beta 7.5 - Fixed Logic Error which caused Alarm AM/PM setting to be ignored.
Beta 7.4 - Added Display (ISO) Week Numbers on Calendar Option, Close Calendar on Lose Focus Option, Calendar Dialog now dynamically resizes at runtime if/as needed (toggle Week Numbers to see), Added Miscellaneous Tab to Properties Dialog to Adjust Above.
Beta 7.3 - Added Option to have Alarm Ring X Times
Beta 7.2 - Added Option to have Alarm Chime the Hour.
Beta 7.1 - More Fun with the Alarm Tab Crash Bugg
Beta 7 - Rework of Alarms Page Control behavior & etc... (see thread for details)
Beta 6 - This is a rough draft of the requested Time Synchronization feature (details to follow).
Beta 5.5 - More mucking about with the infernal Hotkeys (which should finally be be nailed down at this point)
Beta 5.2 - Fixed Loss of (HotKey) Focus Bugg
Beta 5 - Now with configurable HotKeys (I'm way to tired to post details)

Revised request for Ordinal Date Added (two ways) and also added Day-Of-Year.
OD = Ordinal Date UTC
Od = Ordinal Date Local
DOY = Day of Year in (001 - 366) Decimal format.

Help file has been updated with new options - but it looks like hell
Found this request for the Julian Date in an Email, so I tossed it in (Formatting Option JD)
Added Hotkey Options for Stopwatch, Add/Edit Timers, & Timer Watch dialogs

6. The Properties Dialog Mouse Tab Crash Bugg is gone - Thanks to a T-Clock fan that (also happens to be a programmer) has been working with me via Email for the past few weeks.

5. There is an EasterEgg of sorts for the Win2k folk that (is easy to find in the registry) allows TC2010 to make the Desktop Icon Text Labels transparent.

4. Registry info structure has been modified slightly (Simplicity/Testing purposes) so TC2010 will not use/modify the TC3 configuration data.

3. Taskbar transparency has been brought back because (Um...) it seemed like the thing to do at the time. It has been tested and works on all the above.

2. It is stable, and has been tested on Win2k/XP/Server2k3 x64/7 x64 without any Shell hangs/crashes/etc.

1. Okay, so I finally managed to end up with something stable enough to share with the rest of the class ... There are a couple of things to be noted however: This is alpha so it ain't perfect.

Okay, So I've been trying to get this project back off the ground for a few years ... and as of late ... That's really been starting to bug me. Missing source code issues aside ...(long story documented elsewhere)... I still had the partially branded project file from the web server to work with. That copy however (actually all of them in retrospect...) had an issue with MSVS 2005 SP1, which caused a quite consistent shell crash on load. I confirmed this by compiling the code with MSVS 2005 (no service packs) and it did indeed run just fine. Hence the conclusion that either SP1 or something that SP1 didn't like about my code was the culprit.

I have spent the better part of the last 3 days hammering on this in an attempt to render that particular bugg nice and dead. I have succeeded. Hence (in a mild fit of artistic rage...) I have decided to display said buggs still twitching carcase here ... on the odd chance that someone may need to drive a similar stake through one of its cousins:
Code: C++ [Select]
  1. oldWndProc = (WNDPROC)(LONG_PTR)GetWindowLongPtr(hwndClock, GWL_WNDPROC); // The x64 Bugg Was Here
  2.   // SetWindowLongPtr(hwndClock, GWL_WNDPROC, (LONG)(LONG_PTR)WndProc); <--+++----<<<<< FAIL Code!!!
  3.   SetWindowLongPtr(hwndClock, GWL_WNDPROC, (LONG_PTR)(LRESULT)WndProc); //----+++--> This Fixed IT!!
  4.   SetClassLong(hwndClock, GCL_STYLE, GetClassLong(hwndClock, GCL_STYLE) & ~CS_DBLCLKS);

Will TC2010 make it to release? I don't know. But this is a hell of a lot closer to a good start then I've been in the past 4 years.

 :D
-Original Post
Title: Re: T-Clock 2010 (Maybe...)
Post by: mouser on March 02, 2010, 06:30 PM
ouch, thats a tricky one.

Go go TCLOCK!!
Title: Re: T-Clock 2010 (Maybe...)
Post by: Stoic Joker on March 02, 2010, 06:46 PM
ouch, thats a tricky one.

Quite true, but it was at least almost (but not quite) twice as much fun as trimming your toenails with a chainsaw... :)

But seriously... Being that I have multiple project files pointing at the same source pool, the 32-bit compile complained about the pointer conversion (might cause data loss (yada, yada, yada...)). So I had to make it conditional at compile time, which ends up being this:
Code: C++ [Select]
  1. oldWndProc = (WNDPROC)(LONG_PTR)GetWindowLongPtr(hwndClock, GWL_WNDPROC);
  2. //==================================================================================
  3. #if defined _M_IX86 //---------------+++--> IF Compiling This as a 32-bit Clock Use:
  4.   SetWindowLongPtr(hwndClock, GWL_WNDPROC, (LONG)(LONG_PTR)WndProc);
  5.  
  6. //==================================================================================
  7. #else //-------------------+++--> ELSE Assume: _M_X64 - IT's a 64-bit Clock and Use:
  8.   SetWindowLongPtr(hwndClock, GWL_WNDPROC, (LONG_PTR)(LRESULT)WndProc);
  9.  
  10. #endif
  11. //==================================================================================
  12.  SetClassLong(hwndClock, GCL_STYLE, GetClassLong(hwndClock, GCL_STYLE) & ~CS_DBLCLKS);

Which compiles cleanly (no errors or warnings) and runs without crashing on both 32 & 64 bit test machines.
Title: Re: T-Clock 2010 (Maybe...)
Post by: f0dder on March 03, 2010, 01:53 AM
What's up with having two casts (ie., (LONG)(LONG_PTR))? A single (LONG_PTR) ought to suffice, and work on both x86 and x64... reason for your old code crashing is probably that LONG is 32bit in both x86 and x64, so you get pointer truncation... whereas LONG_PTR is defined thus:

#if defined(_WIN64)
 typedef __int64 LONG_PTR;
#else
 typedef long LONG_PTR;
#endif

Yay for the moronic (or should we just say old-school-C-not-C++?) way the PlatformSDK is structured... *me barfs*. "Yeah, this is a pointer, except, like... it's an integer".
Title: Re: T-Clock 2010 (Maybe...)
Post by: Stoic Joker on March 03, 2010, 06:02 AM
What's up with having two casts (ie., (LONG)(LONG_PTR))? A single (LONG_PTR) ought to suffice
...Ought to, being the operative part :) ...But results in:
warning C4244: 'function' : conversion from 'LONG_PTR' to 'LONG', possible loss of data

However, Originally I was using a single Line of code for both (e.g. no compile time switching), so I needed to get that single line to work on/for both the 32 & 64 bit versions ...(and I insist on the code compiling with zero errors or warnings)... Which is I think how I landed there. Did I mention that this (or rather that 4 year ago project) was my baptism by fire in the pointer casting department.

I did some quick testing and now have:
Code: C++ [Select]
  1. oldWndProc = (WNDPROC)(LONG_PTR)GetWindowLongPtr(hwndClock, GWL_WNDPROC);
  2. //==================================================================================
  3. #if defined _M_IX86 //---------------+++--> IF Compiling This as a 32-bit Clock Use:
  4.   SetWindowLongPtr(hwndClock, GWL_WNDPROC, (LONG)(LRESULT)WndProc);
  5.  
  6. //==================================================================================
  7. #else //-------------------+++--> ELSE Assume: _M_X64 - IT's a 64-bit Clock and Use:
  8.   SetWindowLongPtr(hwndClock, GWL_WNDPROC, (LONG_PTR)(LRESULT)WndProc);
  9.  
  10. #endif
  11. //==================================================================================
  12.  SetClassLong(hwndClock, GCL_STYLE, GetClassLong(hwndClock, GCL_STYLE) & ~CS_DBLCLKS);

...Which works on both 32 & 64 bit test machines. I could try running a few tests with just (LONG_PTR)(LRESULT) for both after work if you think it would be cleaner, but for now I'm just glad to be done abusing my server.

Only x64 machines I have are my main (Win 7) dev machine and my (Win 2k3 R2) domain controller. Repeatedly crashing the shell on the dev machine makes it impossible to keep my notes in order ... So I've been torching the shell over & over via Terminal Services for the last few days on the Domain Controller. Which says a lot for TS as in over 100+ shell hangs/crashes the original session never disconnected once and the box is still stable.

Disclaimer: (Kids do not try this at home) This is not considered a good practice or even recommended behavior... (It's actually rather stupid) ;)
Title: Re: T-Clock 2010 (Maybe...)
Post by: f0dder on March 03, 2010, 06:35 AM
Hm, just did a silly little test - obviously won't work runtime, but compiles clean with the following two compilers (VS2008 + SP1):
Microsoft (R) C/C++ Optimizing Compiler Version 15.00.30729.01 for x64
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86

...should work fine for older compilers as well, although there is a PlatformSDK dependency to have GWLP_* work (dunno when that was introduced, but iirc it works fine on VS2005).

Note that I prefer the C++ style cast operators, but C style (cast) just as well (they're less explicit and harder to grep for, though, and the C++ operators allow you to be more precise wrt. what/why you're casting).

Code: C++ [Select]
  1. #include <windows.h>
  2.  
  3. extern HWND hwndClock;
  4. extern LRESULT CALLBACK newWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  5.  
  6. int main()
  7. {
  8.         WNDPROC oldWndProc = reinterpret_cast<WNDPROC>(GetWindowLongPtr(hwndClock, GWLP_WNDPROC));
  9.         SetWindowLongPtr(hwndClock, GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(newWindowProc));
  10. }

Title: Re: T-Clock 2010 (Maybe...)
Post by: Stoic Joker on March 03, 2010, 07:14 AM
Hm, just did a silly little test - obviously won't work runtime, but compiles clean with the following two compilers (VS2008 + SP1):
Microsoft (R) C/C++ Optimizing Compiler Version 15.00.30729.01 for x64
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
I'm like totally open for suggestions here. ;)

...should work fine for older compilers as well, although there is a PlatformSDK dependency to have GWLP_* work (dunno when that was introduced, but iirc it works fine on VS2005).
It does, and is used/was required to get the origional (VS2k5) project off the ground

Note that I prefer the C++ style cast operators, but C style (cast) just as well (they're less explicit and harder to grep for, though, and the C++ operators allow you to be more precise wrt. what/why you're casting).
That decision was made for me as the origional (authors) code is pure C, which I haven't changed ... But have regretted more than once...
Title: Re: T-Clock 2010 (Maybe...)
Post by: Daleus on March 03, 2010, 11:13 AM
Stoic,

Sorry I can't offer any programming tips, but I did want to chime in and say that TClock has been one of my must have programs for a couple of years now.

Take this as encouragement that I'd love to see your latest version when it becomes available!
Title: Re: T-Clock 2010 (Maybe...)
Post by: Stoic Joker on March 03, 2010, 07:17 PM
f0dder - After going through and tidying up the various pointer castings TC2010 is proving to be quite stable. I've even spent some quality time trying to crash it, and happily failed. Rather odd side note is that the strange behavior of the Mouse Tab of the Properties Dialog crashing the program seems to have disappeared. So I've tentatively (also) crossed that Bugg off the To-Do list for the moment. :)

Daleus - Thank You, I truly appreciate the encouragement. I got hooked on TClock back in the late 90s and am completely incapable of parting with it. If you are interested in a bit of (alpha/) beta testing ... I could be easily coerced into posting a download of TC2010 once I get a few more things ironed out. ;)
Title: Re: T-Clock 2010 (Maybe...)
Post by: mwb1100 on March 03, 2010, 08:05 PM
this is a pointer, except, like... it's an integer

As I'm sure you know, it's quite common in C to store pointers in int variables.  While this might not be a good practice in general there are times when it makes sense, such as for SetWindowLongPtr() where all the API is interested in is storing a small blob of data - it doesn't care what that data is (the user of the API gets to decide what the data means).

The intent of the LONG_PTR/ULONG_PTR types is the same as C99's intptr_t and uintptr_t types which is to be able to declare an integer type that can hold a pointer - exactly for situations like Win64 where pointers are larger than normal ints. The C99 standard calls them "Integer types capable of holding object pointers".

On the other hand, Microsoft should have made it so that passing a LONG_PTR type (whether by casting or not) to SetWindowLongPtr() should not have caused a warning whether the build was for 32 or 64 bit. That's really where something fell down here.  The whole point of a type like LONG_PTR is so that the conditional code that Stoic Joker ended up using wouldn't be necessary.
Title: Re: T-Clock 2010 (Maybe...)
Post by: f0dder on March 03, 2010, 09:39 PM
As I'm sure you know, it's quite common in C to store pointers in int variables.  While this might not be a good practice in general there are times when it makes sense, such as for SetWindowLongPtr() where all the API is interested in is storing a small blob of data - it doesn't care what that data is (the user of the API gets to decide what the data means).
A void* is a better choice - it's opaque ("don't go around manipulating this like you woudl an int"), you don't run into trouble on platforms where sizeof(int) != sizeof(T*) (16- and 64-bit x86 platforms), et cetera. 8 of the 10 documented indices for Get/SetWindowLongPtr are pointer types.

On the other hand, Microsoft should have made it so that passing a LONG_PTR type (whether by casting or not) to SetWindowLongPtr() should not have caused a warning whether the build was for 32 or 64 bit. That's really where something fell down here.  The whole point of a type like LONG_PTR is so that the conditional code that Stoic Joker ended up using wouldn't be necessary.
And, at least on VC2008, there is no warning when doing the single cast. Can't see why there would be with other versions of the compiler, either, really - but mistakingly using SetWindowLong (instead of SetWindowLongPtr) at 4am because you haven't had enough coffee... then yeah :) (or perhaps some flaky old PlatformSDK version - but I kinda doubt that as well).

The PSDK is a big effing mess with some of the worst C coding styles, it's a shame MS has never cleaned it up. Stuff like using enums instead of #defines, inline functions for the ApiNameA/W distinguishing, etc.
Title: Re: T-Clock 2010 (Maybe...)
Post by: AbteriX on March 04, 2010, 06:04 AM
@Stoic Joker
Thanks for your work :Thmbsup:
i second Daleus post in all it aspects   :P
Stoic,

Sorry I can't offer any programming tips, but I did want to chime in and say that TClock has been one of my must have programs for a couple of years now.

Take this as encouragement that I'd love to see your latest version when it becomes available!

Title: Re: T-Clock 2010 (Maybe...)
Post by: Stoic Joker on March 06, 2010, 06:29 PM
Okay, Just to show that I haven't dropped-the-ball...again... ;) (Here's an update)

Before:
[ You are not allowed to view attachments ]

After:
[ You are not allowed to view attachments ]

Mouse Tab has been reorganized and I added a ListView of all currently configured mouse click options for clarity. Screen Shots were taken on my 64-bit Server 2003 Domain Controller - No crashes were experienced during testing... :)
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 13, 2010, 02:28 PM
T-Clock 2010 alpha download link is (and will be) at the bottom of the first post of this thread.

Go ahead be brutal honest... ;)
Title: Re: T-Clock 2010 (alpha - download)
Post by: ewemoa on March 13, 2010, 04:03 PM
So far it's working fine here in Windows XP SP3 :)

(Ah, what do you know -- looking at T-Clock 2010 reminded me it's Pi day (https://secure.wikimedia.org/wikipedia/en/wiki/Pi_day).)
Title: Re: T-Clock 2010 (alpha - download)
Post by: mouser on March 13, 2010, 04:10 PM
might be nice to have a quick summary of what's new?
Title: Re: T-Clock 2010 (alpha - download)
Post by: jpprater on March 15, 2010, 01:50 PM
T-Clock 2010 alpha download link is (and will be) at the bottom of the first post of this thread.
Go ahead be brutal honest... ;)
Looks good so far.  No errors.
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 17, 2010, 09:22 PM
Mouser - Sorry man, wasn't ignoring you, I've just been busy trying to keep the project rolling while I'm still in this window of opportunity (time wise). Most of what had been update/fixed was under the hood stuff. Biggest item being the Properties Dialog's habit of crashing the clock (and shell) any time the mouse options tab had been viewed. I should probably do a proper posting with one of the NANY release templates at some point to avoid confusion.

So... I decided to tackle the Timers part of T-Clock, as it has always kinda bugged me (OK, it was total shit to be honest... :)) While not completely finished, it is working well enough to share. The Stopwatch part (what pathetic attempt at one there was) has been temporally removed until I can do it properly (which is next). Latest updated build of T-Clock available bottom of first post in thread.

Before:
[ You are not allowed to view attachments ]

After:
[ You are not allowed to view attachments ]

Multiple timers can be stopped and started from the UI (stopping a timer previously required restarting the clock), Timers can now be set for Days/Hours/Minutes/Seconds, instead of just minutes. Running timers menu now gives the names of the running timers and are click-able to open a current time remaining message. MessageBox will be replaced by a running "live" countdown eventually - but I ain't there yet. ;)

Feedback Appreciated... :)
Title: Re: T-Clock 2010 (alpha - download)
Post by: ewemoa on March 17, 2010, 11:37 PM
I tested a bit w/ the content of:

  T-Clock 2010 (alpha -2- Release to DC).zip

10-second timer worked -- at least, when I specified a .wav file, I heard something at what seemed like around 10 seconds  :Thmbsup:

60-second and 100-second timers seem to give me times rather longer than 60 or 100 seconds (at least when I choose the timer from the context menu, the dialog box that comes up says something like 18:wx:yz).  Being able to specify values greater than or equal to 60 for seconds is a good feature IMHO because sometimes we are quoted values from external sources, and not having to manually convert those values to set timers would be much appreciated :)

Tab order among fields for the Timer dialog seemed odd to me.  Here's the order I observed for when there are no timers yet:

Time Name text field
Minutes numeric field
File text field
... button
Test button
Repeat checkbox
Blink checkbox
Start button
Cancel button
Seconds numeric field
Hours numeric field
Days numeric field
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 18, 2010, 06:18 AM
Tab Order  :wallbash: You got me! :) I knew I was forgetting something (Using forest for the trees defense).

the dialog box that comes up says something like 18:wx:yz
format of that is hh:mm:ss so it looks like it's counting down from 18 hours.

60 - 100 seconds timer? ...I ganged all the spinner controls together so that clicking up on 59 seconds would automatically set minutes to one. So as each spinner reaches it max (or min) value, it will start updating its neighbor control.

The intent behind the design was that 60 seconds be 1 minute, and 100 seconds be 1 minute 40 seconds.

I spent a lot of time trying to work out how to do this, and didn't think enough about should I do this perhaps? I can pull that (update yer neighbor) part if it's to confusing/annoying - or try tweaking it for clarity if it's saveable.

Thanks for the input! :)
Title: Re: T-Clock 2010 (alpha - download)
Post by: ewemoa on March 18, 2010, 07:49 AM
60 - 100 seconds timer?
Yup.  As a somewhat vague example, there are these sites that make you wait before letting you do certain things, and if you miss a window of opportunity you are made to wait another period of time.  It has been my experience that the quoted wait times are often communicated in seconds.  I've seen 500 seconds wait times, FWIW.

I ganged all the spinner controls together so that clicking up on 59 seconds would automatically set minutes to one. So as each spinner reaches it max (or min) value, it will start updating its neighbor control.
Aha.  Thanks for the explanation. 

A little more detail on what I did:

I put the focus in the seconds field, entered 100 and subsequently used tab to visit other fields, ensuring that the other time fields were 0.  From what I can see, tabbing off of the seconds field does not appear to update the time fields.  At the time when I click on the start button, what I see for time values consists of:

  0 Days
  0 Hours
  0 Minutes
  100 Seconds

If I visit the Timer dialog subsequently and copy-paste the seconds value elsewhere, I see a value of 65595.

I can pull that (update yer neighbor) part if it's to confusing/annoying - or try tweaking it for clarity if it's saveable.
I'm not sure yet.  There is an element of convenience to having the conversion done automatically.

For comparison...
For reference, in a former life, I wrote a timer plugin for some program.  The method I used there for specifying times was purely via a single text field.  Some examples of expressions I supported were:

     1h20m4s (1 hour 20 min 4 sec)
     4m3s (4 min 3 sec)
     500s (500 seconds)

     1:30 (1 min 30 sec)
     2:30:10 (2 hours 30 min 10 sec)

     3 (3 min)
     1.5 (1 min 30 sec)
     20r (every 20 minutes)

The main emphasis was on being able to quickly create timers -- and to be honest, I find not having to tab to different controls more convenient for specifying times from scratch.  However, I think that visually speaking, the spinner arrangement in T-Clock provides a stabler, more normalized feeling.  I think it may be nicer for editing existing timers, and as far as reading an existing time specification is concerned I think it may be better than a single text field.  (Perhaps a potentially nice addition might be for the dialog to also display at what time a timer will expire.)


I noticed that if I press the X button to remove a timer without stopping it first, it still appears under the T-Clock Timers submenu.  After the timer expires, it goes away, but I guess there's no straight-forward way to get at it to stop it.  Am I missing something obvious may be?

For future consideration
Ah, one more thing I forgot to mention in my previous post.  After I deleted all timers, leave the timer dialog, and return to it, the File text field is empty (which makes some sense).  Unfortunately, though, clicking on "..." brings up a File Open dialog pointing initially at the directory for the T-Clock binary.  If it's doable, perhaps it'd be more convenient to have the directory location point to the most recently used location for a timer with a sound.  What do you think?

Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 18, 2010, 08:04 PM
Holy Hell, Mom Was Right - If you pick at a loose thread, he whole damn thing unravels... (I'll explain later)

Yup.  As a somewhat vague example, there are these sites that make you wait before letting you do certain things, and if you miss a window of opportunity you are made to wait another period of time.  It has been my experience that the quoted wait times are often communicated in seconds.  I've seen 500 seconds wait times, FWIW.

A little more detail on what I did:

I put the focus in the seconds field, entered 100 and subsequently used tab to visit other fields, ensuring that the other time fields were 0.  From what I can see, tabbing off of the seconds field does not appear to update the time fields.  At the time when I click on the start button, what I see for time values consists of:

  0 Days
  0 Hours
  0 Minutes
  100 Seconds

If I visit the Timer dialog subsequently and copy-paste the seconds value elsewhere, I see a value of 65595.

This was actually 2 separate issues.

1. Values were being taken from the Spinner Control not the Edit Control ... So 100 being out-of-range ~ Gave the appropriate (65595) error.

2. I never thought of anybody doing that.

So... Values now taken (at face value...) from Edit Control and are then passed through here:
Code: C++ [Select]
  1. //================================================================================================
  2. //--{ DC - ewemoa }------+++--> Validate Values as Being Within Expected Ranges (Adjust as Needed):
  3. void ValidateTimerInput(int sec, int min, int hrs, int day) { // Second  = 1 Second --------+++-->
  4.                                                                                // Minute = 60 Seconds
  5.                                                                                // Hour = 3600 Seconds
  6.   if(sec > 59) {                                                           // Day = 86400 Seconds
  7.           for(sec; sec > 59; sec -= 60) {
  8.                   min += 1;
  9.           }
  10.   }
  11.  
  12.   if(min > 59) {
  13.           for(min; min > 59; min -= 60) {
  14.                   hrs += 1;
  15.           }
  16.   }
  17.  
  18.   if(hrs > 23) {
  19.           for(hrs; hrs > 23; hrs -= 24) {
  20.                   day += 1;
  21.           }
  22.   }
  23.  
  24.   if(day > 42) day = 7; // It was either Hitchhikers Guide to the Galaxy -or- the 49.7 day bugg :-)
  25. }

Now you can stick anything anywhere & it'll convert it for you on-the-fly as needed.


I noticed that if I press the X button to remove a timer without stopping it first, it still appears under the T-Clock Timers submenu.  After the timer expires, it goes away, but I guess there's no straight-forward way to get at it to stop it.  Am I missing something obvious may be?

Yes, that would be the I'm obviously not that bright, part. The extra flurry of message boxes that I'm sure you noticed were supposed to remind me (test values) I hadn't finished coding that part. The next release will include the Auto-Suicide on Delete function - That I forgot to do earlier (...Thanks for reminding me... :)).

So, do I really still need to explain the Thread Comment?

Rather bizzar side effect, when I reordered the controls in the .rc script to fix the Tab Order (which I've done many times) Tabs have now completely quit working (e.g. Key Has No Effect).


And etc. *Shrug* ...But that's enough whinning I gota get back to work ;)

Hopefully I'll have a new build ready sometime this weekend.


Thank You
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 18, 2010, 10:01 PM
Well, Damn the luck - Tabbing Issue was actually with Virtual PC. After I restarted the whole shebang it started working just fine.

So... Updated download above - With the following fixes/additions:

1. Deleting a running timer, also stops said timer.

2. Deleting a timer no longer scrambles all of the other configured timers.

3. Removed excess MessageBoxes (that weren't actually supposed to be there - oops!).

4. Fixed Spastic Tab Order issue.

5. Entering out-of-range time data is now auto-converted to its D:HH:MM:SS equivelents

6. Timer Status message now reflects the above (per ewemoa's formatting suggestion) - This will eventually be a "Live" counter.

7. Timers that were running on program shutdown are automatically reset so they don't get stuck as unstartable.

8. Some other stuff I can't remember at the moment.
Title: Re: T-Clock 2010 (alpha - download)
Post by: cranioscopical on March 19, 2010, 12:48 PM
8. Some other stuff I can't remember at the moment.
Please, sir, I want some more of that.  :)
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 19, 2010, 03:01 PM
8. Some other stuff I can't remember at the moment.
Please, sir, I want some more of that.  :)
-cranioscopical (March 19, 2010, 12:48 PM)
9. Additional items I can't remember - But included on request.
Title: Re: T-Clock 2010 (alpha - download)
Post by: ewemoa on March 19, 2010, 06:32 PM
Code: C++ [Select]
  1. if(day > 42) day = 7; // It was either Hitchhikers Guide to the Galaxy -or- the 49.7 day bugg :-)

Ha ha ha ha ha  :D

Now you can stick anything anywhere & it'll convert it for you on-the-fly as needed.

Sounds good to me  :Thmbsup:

Hopefully I'll have a new build ready sometime this weekend.

Good luck!  Err, I guess this happened while I was composing this response.../me goes off to download.
Title: Re: T-Clock 2010 (alpha - download)
Post by: ewemoa on March 19, 2010, 07:08 PM
Tabbing Issue was actually with Virtual PC. After I restarted the whole shebang it started working just fine.
Congratulations -- it seems it wasn't your code :)

1. Deleting a running timer, also stops said timer.

Seems to be working.

2. Deleting a timer no longer scrambles all of the other configured timers.

I was going to test this, and went to create a second timer, but the Start button was disabled...This is not by design, right?

After a timer expired, I was able to create a new one and start that.  Then I was able to select the first one to start that too.  Scrambling seems to not have happened.

3. Removed excess MessageBoxes (that weren't actually supposed to be there - oops!).

Darn it!  How do I get them to appear now?  ;)

4. Fixed ... Tab Order issue.

Much nicer!

5. Entering out-of-range time data is now auto-converted to its D:HH:MM:SS equivelents

6. Timer Status message now reflects the above ... - This will eventually be a "Live" counter.

I am seeing appropriate values in the status dialog for the timer  :Thmbsup:  (I see that if I specify 2 minutes and 120 seconds in the dialog for creating timers, the numbers I specified are preserved in the dialog upon subsequent viewing.  Perhaps this is a nice feature.)

7. Timers that were running on program shutdown are automatically reset so they don't get stuck as unstartable.

So what currently happens is that one can still start them up, but they don't auto-resume.  Is that correct?  That's my interpretation of what I'm observing.  Definitely seems good to be able to start them again!

8. Some other stuff I can't remember at the moment.

I'm not finding any obvious non-trivial effect of pressing the "Test" (triangle) button (I imagine I'm supposed to hear the specified sound -- I'm not hearing the corresponding sound upon pressing the button though).  I don't remember whether this worked before and I've removed my older T-Clock -- oops.
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 19, 2010, 11:19 PM
No can create 2nd timer when first is running Bugg is (known) on the To-Do list.

Test Sound Button Broken Bugg - (Is new...) - :o - (it used to work) - is on To-Do list.

Upgrade = Exchange Old bugs for New bugs. <- I just made that true)

I'm currently working on the Stopwatch feature, but will attack the Timer issues as soon as I can get the Stopwatch to stop acting like a rabid ape.
Title: Re: T-Clock 2010 (alpha - download)
Post by: cranioscopical on March 20, 2010, 08:45 AM
Thanks for the specially-requested additions!

as soon as I can get the Stopwatch to stop acting like a rabid ape.
;D (You can reform a rabid ape with a paid bear.)
Title: Re: T-Clock 2010 (alpha - download)
Post by: wr975 on March 20, 2010, 09:26 AM
Thank you for this Windows7 compatible utility.  :Thmbsup:

If I could ask for one feature: Week in "Date Options". Would be very useful. Thanks.

Title: Re: T-Clock 2010 (alpha - download)
Post by: mouser on March 20, 2010, 09:37 AM
Feature request: right-click menu option to do internet time sync
(i'm not suggesting you code the time sync, merely find a way to trigger the built-in windows internet time sync that can be seen in the "Adjust Date and Time" dialog).

Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 20, 2010, 05:35 PM
Thank you for this Windows7 compatible utility.  :Thmbsup:

If I could ask for one feature: Week in "Date Options". Would be very useful. Thanks.

Hm... Let me make sure I got this right; You're looking for the week # (1-52) of the year, yes? While I've not a clue what this is used for, it's got to be the (hands down) most requested feature in T-Clocks history (at least the part I've been involved in). So it's definitely on the To-Do list. I can't say when it will be added (i gota figure out how first) but it will be added at some point.

If I'm of base, feel free to clarify, and I might give that a shot too. ;)

Feature request: right-click menu option to do internet time sync
(i'm not suggesting you code the time sync, merely find a way to trigger the built-in windows internet time sync that can be seen in the "Adjust Date and Time" dialog).

Triggering vs. coding really isn't the issue - Administrative Rights being required to adjust the System Clock is the issue. That and if someone sync's with a time source outside their domain, theyj could get cut off from the domain (Kerberos 5min default max allowed time skew).

From a command Prompt the Windows Time Service can easily be targeted with either:
net time /set /y
 -or-
w32tm /resync

...But both require cmd.exe to be run as Admin or they will fail. I've (gotten other requests for this, and) pondered this at great length several times before. Each time looping back to the rights issue and how to gracefully handle the lack of them, should the case arise.

There is a method of triggering run as with ShellExec(...) that I've toyed with exploring ... But I'm just not willing to commit to something that will cause T-Clock to start triggering UAC prompts.


On a brighter note, the Stopwatch has finally been beaten into submission, and has moved to the extended testing phaze. It uses QueryPerformanceCounter(...) & QueryPerformanceFrequency(...) for reasonable precision down to the millisecond, and does lap times too.
[ You are not allowed to view attachments ]
(Thanks to ewemoa for the output format suggestion)

I'm not releasing it just yet because I got figure out what I broke in the Timer test sound button first.
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 20, 2010, 07:33 PM
Okay, something went right for a change ... :o ...

New build with Stopwatch is now available in the usual (first post of thread) location.

This build also includes fixes for:
 1. Broken Timer Test Sound Button Bugg.
 2. Can't Add 2nd Timer if First is Running Bugg.


I seem to have missed this earlier.
7. Timers that were running on program shutdown are automatically reset so they don't get stuck as unstartable.

So what currently happens is that one can still start them up, but they don't auto-resume.  Is that correct?  That's my interpretation of what I'm observing.  Definitely seems good to be able to start them again!

Correct, the timer decriptions are saved in the registry so the timers can be reused. However given the numerous ways a program can be unloaded... :) ...There is no real safe way to cope with/calculate the "Hang-Time", so the timers are all (re)set to inactive on program start so that they can then be launched/restarted.
Title: Re: T-Clock 2010 (alpha - download)
Post by: ewemoa on March 20, 2010, 08:26 PM
1. Broken Timer Test Sound Button Bugg.
 2. Can't Add 2nd Timer if First is Running Bugg.
Verified locally  :Thmbsup:  ...and the Test button even stops the sound being tested.

I tried the Stopwatch feature a bit. 

I like the lap feature and the ms updating :)

It looks like you can create multiple instances -- is that intentional?

If so, here's something:

1. Open a stopwatch window and move it away from where it appears a bit
2. Press the start button for the stopwatch
3. Open another stopwatch window
4. Press the stop button for the first stop watch
5. Press the start button for the second stopwatch

After step 5, I observe the first stopwatch starting and as you might expect, I expected the second stopwatch to start instead.
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 20, 2010, 10:44 PM
It looks like you can create multiple instances -- is that intentional?

 :-[ No. It's supposed to check for an existing instance on load and give that one focus if it's found.
(Forest->Trees ... shit)

That will be fixed in the next release.

Thank You.
Title: Re: T-Clock 2010 (alpha - download)
Post by: wr975 on March 21, 2010, 07:09 AM
Thank you for this Windows7 compatible utility.  :Thmbsup:

If I could ask for one feature: Week in "Date Options". Would be very useful. Thanks.

Hm... Let me make sure I got this right; You're looking for the week # (1-52) of the year, yes? While I've not a clue what this is used for, it's got to be the (hands down) most requested feature in T-Clocks history (at least the part I've been involved in). So it's definitely on the To-Do list. I can't say when it will be added (i gota figure out how first) but it will be added at some point.

If I'm of base, feel free to clarify, and I might give that a shot too. ;)

True. Week 01-52 would be fine.

Why I need it? Well, I've to deal a lot with week numbers at my workplace, like ... "this reports is for week... ah, what's the current week number again?" Right now I'm using BetaClock, but this tool isn't working under Win7 and my workplace PC will get an update to Win7 soon.

If you have time for this feature and want to make it the best ever seen, offer "Simple week number" and "ISO 8601 week number" (http://www.proesite.com/timex/wkcalc.htm) and do your own calculation. Do no rely on what Windows returns as week number, as it gives wrong results under Win7 (possible bug in the international settings. HKCU\Control Panel\International\iFirstWeekOfYear should be set to 1 for ISO 8601).

Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 21, 2010, 03:22 PM
Okay, dates are not one of my "Strong Points" ... So bear with me while I muddle through this.

As I understand in, we got 2 different Week-Of-Year (WOY going forward) standards, Simple (SWN) and ISO 8601. From what I gather reading the link you posted (thanks for that btw):
 Simple = day one (e.g. Jan/1) week one. 7 days later is week 2, etc., etc..
 ISO = week 1 of a given year is the one that includes the first Thursday of that year (and then it contradicts itself).

I'll clarify that last part (from the article).
In [ISO8601], the week number is defined by:

weeks start on a Monday
week 1 of a given year is the one that includes the first Thursday of that year. (or, equivalently, week 1 is the week that includes 4 January.)

Now Monday = 1 tracks with Thursday = 4 just fine (i.e. 2007), but if week 1 needs a 4th to be week one, there is no guarantee that it will come with/as a Thursday. So which is it? First week with a 4th, or the first week with a Thursday?

2007 1st Thursday was the 4th (perfect!). - Windows called it week 1
2008 1st Thursday was the 3rd. - Windows called it week 0 (but next week (was week 1, and) had 1st Thusday...)
2009 1st Thursday was the 1st. - Windows called it week 0 (but next week (was week 1, and) had 1st Thusday...)
2010 1st Thursday was the 12/31 of 2009. - Windows called it week 0 (but next week (was week 1, and) had 1st Thusday...)
Note: Both Window XP & 7 give the same answers when I pull the WOY out of local time.

So the kicker is really 2008; its got a Thursday, and a 4th (but it's Friday), and Windows called it week 0 ... Now to your way of thinking is that correct, or no?

Now I can pull SWN (as an option 2) out of the same place by grabbing Day-of-Year and dividing it by 7 (simple enough). The question is, do you think (based on above assessment/ramblings) that Windows (by default) has the ISO WOY correct? Or is there something else I'm missing/misinterpreting
Title: Re: T-Clock 2010 (alpha - download)
Post by: AbteriX on March 21, 2010, 04:32 PM
FWIW here are some info about week numbering http://www.rondebruin.nl/weeknumber.htm
Title: Re: T-Clock 2010 (alpha - download)
Post by: jpprater on March 21, 2010, 05:32 PM
Latest build runs beautifully.
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 22, 2010, 10:26 PM
Okay, so the farther I get into this the muddier the water gets. It seem that even within the "Standard" there are warring intellectual factions that maintain (rather philosophically) that the first (not week one yet...) part of the year is either end of week 53 - or week 0.

*Shrug* Best I can tell, I'm getting the correct answer for week 1 forward, so I'm gonna go with that unless anybody's got a (documented) better idea. :)

So as it stands now I'm working on 3 variants:
 1. ~ISO week starting on Monday
 2. ~ISO week starting on Sunday
 3. SWN (Simple Week Number)

1 & 2 are already working on test machines, 3 (the "simple" one) is proving to be anything but. However, it will come along (in the next release) eventually - Just as soon as I can find the right sized hammer... ;)
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 23, 2010, 06:07 PM
Well, much as I hate to regard silence as acceptance ... I gotta go with it.

New build now available (on first post) Includes:
 1. All 3 of the afore mentioned Week-of-Year options listed above.
 2. Finally... a help file describing the currently available custom format options.
 3. Bugg fix for the Menu Dismissal Issue (it didn't always go away when told - It does now)
 4. Bugg fix for Stopwatch's Evil Psychotic Twin issue.
 5. Bugg fix for Child dialogs (Properties/Timers/Stopwatch)  failure to gain focus (pop-under) issue.
 6. Bugg fix for bashful tooltip issue.
Note: 5 & 6 were closely related to 3.
 7. Finally created help file that explains how to make it do what it does.


As Always, Feedback Greatly Appreciated.
Title: Re: T-Clock 2010 (alpha - download)
Post by: ewemoa on March 23, 2010, 09:08 PM
Below is some feedback for: T-Clock 2010 (alpha -5- Release to DC).zip

1. All 3 of the afore mentioned Week-of-Year options listed above.
I haven't tried to grok the week stuff, but FWIW, I put Wm Ws and Ww in a custom format under "Advanced Clock Configuration Options".  What I see currently is:

12 12 12

Perhaps that's working :)  Anyway, just some feedback on that functionality...

2. Finally... a help file describing the currently available custom format options.
I see and have opened a file named T-Clock Help.rtf.  I see sections for Date, Time, and Other Options.

3. Bugg fix for the Menu Dismissal Issue (it didn't always go away when told - It does now)
I'm not sure I experienced this one before and I don't think I see it now.

4. Bugg fix for Stopwatch's Evil Psychotic Twin issue.
Twin seems long lost now ;)

5. Bugg fix for Child dialogs (Properties/Timers/Stopwatch)  failure to gain focus (pop-under) issue.
6. Bugg fix for bashful tooltip issue.
See remark for 3.

7. Finally created help file that explains how to make it do what it does.
Was this a reference to T-Clock Help.rtf?
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 23, 2010, 09:40 PM
Below is some feedback for: T-Clock 2010 (alpha -5- Release to DC).zip

1. All 3 of the afore mentioned Week-of-Year options listed above.
I haven't tried to grok the week stuff, but FWIW, I put Wm Ws and Ww in a custom format under "Advanced Clock Configuration Options".  What I see currently is:

12 12 12

Perhaps that's working :)  Anyway, just some feedback on that functionality...

Yes at this point they all line up, but Ww (SWN) will go to week 13 on Thursday, Ws will go to 13 on Sunday, and Wm will go to 13 on Monday. *Shrug* I guess on other years it will skew farther - Making for a more dramatic effect. All I know is a lot of people were after this option (showed up frequently in the 300+ Emails I have received), so I had to figure out how to include it...Even tho the "Standard" is confusing as hell.

2. Finally... a help file describing the currently available custom format options.
I see and have opened a file named T-Clock Help.rtf.  I see sections for Date, Time, and Other Options
7. Finally created help file that explains how to make it do what it does.
Was this a reference to T-Clock Help.rtf?
Yes, Help file was the other most requested feature. While I was tracing through the output formatting code line by line to decide where & how best to include the week stuff, it occurred to my Hay why not take notes ... and those notes are now the help file (or at least a reasonably good start on one).

3. Bugg fix for the Menu Dismissal Issue (it didn't always go away when told - It does now)
I'm not sure I experienced this one before and I don't think I see it now.

5. Bugg fix for Child dialogs (Properties/Timers/Stopwatch)  failure to gain focus (pop-under) issue.
6. Bugg fix for bashful tooltip issue.
See remark for 3.
These were rather subtle, but very annoying.

 Thank you.
Title: Re: T-Clock 2010 (alpha - download)
Post by: AbteriX on March 24, 2010, 06:32 AM
Well, much as I hate to regard silence as acceptance ... I gotta go with it.
[...]
As Always, Feedback Greatly Appreciated.
Didn't you see me post above?...  ;) or was the link useless?
https://www.donationcoder.com/forum/index.php?topic=21944.msg199412#msg199412
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 24, 2010, 08:35 AM
Well, much as I hate to regard silence as acceptance ... I gotta go with it.
[...]
As Always, Feedback Greatly Appreciated.
Didn't you see me post above?...  ;) or was the link useless?
https://www.donationcoder.com/forum/index.php?topic=21944.msg199412#msg199412

Yes, I spent a great deal of time studying both your link, and wr975's - therein lying the problem - The more I read it the more it started turning into a "If this week, ws next week, last week..." Bugs Bunny skit in my head.

I tried googling for a clearer (straight) answer but none could be found. I was looking for a simple (straight answer) chart of the week numbers going back a few years, that would give me the correct answers according to (Hoyle...) the ISO standard, so I could compare TC's output to it. What I found was warring Brain-Monkeys clashing (pontificating) over end of week 53 vs. week 0. ...At which point I gave up, and went with what I had.

So at this point it's up to you guys to tell me if it's "right", as the only one of the 3 that I can/could verify with any accuracy was the Ww SWN - Which I ended up writing myself because the Timex formula struck me as just way to convoluted a method of answering a simple question.

Week = floor(((DayOfYear) + 6) / 7);       // (Can't miss - End of Problem)


Thank you.
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 25, 2010, 06:57 AM
Okay, this one is kind of a quicky - but it's for a weird issue that has plagued TC forever. The font size calculation had a bugg that caused the size 8 font to be way tiny (and almost impossible to see). I've reworked the calculation method so now size 8 is actually size 8. While this change causes the clock text to need to be repositioned after settings are applied,  each time (in testing) it needed to be repositioned back to 0 instead of the offset I'd been using to center the clock. This implies (to me) that it's now being calculated correctly which finally allows the clock to properly self-center itself.

I also bumped up the font creation quality to ClearType Natural (it was draft) ... which seems a bit crisper, but I'll leave it up to you folks to let me know if it really is better. Download available it the usual place.

Thank you,

Stoic Joker
Title: Re: T-Clock 2010 (alpha - download)
Post by: mouser on March 25, 2010, 07:29 AM
Just reporting that the new version works well for me, as did the old version.
I never used the advanced features so i can't really comment on that, except to say that finding t-clock version for windows x64 was a godsend to me.

Here are the date time formatting settings i use; frankly i don't know why anyone on earth would use anything but these, so i suggest they be made not only the defaults, but the only option available unless the user is willing to hack the executable:

[ You are not allowed to view attachments ]
[ You are not allowed to view attachments ]
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 25, 2010, 08:04 AM
Here are the date time formatting settings i use; frankly i don't know why anyone on earth would use anything but these, so i suggest they be made not only the defaults, but the only option available unless the user is willing to hack the executable:

That seems a bit harsh...even by my (lack of) standards... ;)

That looks like an awfully old build in the screenshot, but in defense (hehe) of alternate settings, here's  my current config at the office.
[ You are not allowed to view attachments ]
Title: Re: T-Clock 2010 (alpha - download)
Post by: mouser on March 25, 2010, 08:08 AM
you're right, i screenshotted the old build so i could copy over my settings; the new organization is a nice improvement  :up:
Title: Re: T-Clock 2010 (alpha - download)
Post by: ewemoa on March 25, 2010, 05:08 PM
Trying out T-Clock 2010 (alpha -6- Release to DC).zip

Didn't know about
The font (https://secure.wikimedia.org/wikipedia/en/wiki/Font) issues

Inspired to try
A different format (https://secure.wikimedia.org/wikipedia/en/wiki/Date_and_time_notation_by_country)

Used to use
  yyyy-mm-dd hh:nn:ss (https://secure.wikimedia.org/wikipedia/en/wiki/24_hour_clock)
But now trying
  yyyy-mm-dd\nhh:nn (https://secure.wikimedia.org/wikipedia/en/wiki/Newline)

Amazingly it works (https://secure.wikimedia.org/wikipedia/en/wiki/Causality)

Especially when one (https://secure.wikimedia.org/wikipedia/en/wiki/Indra%27s_net)
Configures small font
And text position

Though the muscles
Of my eyes (https://secure.wikimedia.org/wikipedia/en/wiki/Optical_illusion)
Might feel twinges

In other news
Noticed original spelling
Of the name
Of user-contributed encyclopedia
In help doc (https://secure.wikimedia.org/wikipedia/en/wiki/Software_documentation)

Thanks for listening
Perhaps this was
A bit much (https://secure.wikimedia.org/wikipedia/en/wiki/Excess)  ;)
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 26, 2010, 06:48 AM
It seem almost poetic :-\ lyrical - Is there a tune that goes with it?

Nice to know somebody missed the font issue, I've got 50+ Emails from people that didn't. The new size 8 font is actually not bad now with 2 lines on the (default height) skinned XP taskbar ... But I wouldn't try it on 2k.

I've been thinking it might be nice to get folks to post a SS of their clock configuration - if a vague consensus of form can be found, I'll make it the (new) default.

Up Coming Stuff: I'm currently working on the (much needed) "live" timer countdown interface. The plan is to have a single location where a selectable group of active timers can be monitored. Also working on making the stopwatch controllable from the command prompt, so a script can start/stop/lap/reset the counter for execution time checking. Beyond that ... I'm running out of ideas, but am reviewing the emails I received over the years to see if there is anything else I can add (that won't junk-it-up). <- Hint... ;)) Next build will most likely be the first beta.

Title: Re: T-Clock 2010 (alpha - download)
Post by: ewemoa on March 26, 2010, 08:11 AM
It seem almost poetic :-\ lyrical - Is there a tune that goes with it?
Good question :)

Up Coming Stuff: I'm currently working on the (much needed) "live" timer countdown interface. The plan is to have a single location where a selectable group of active timers can be monitored.
Sounds nice!  Would a hotkey to toggle visibility make sense?

Also working on making the stopwatch controllable from the command prompt, so a script can start/stop/lap/reset the counter for execution time checking.
Mmmmm, command line access.  More of that!

Beyond that ... I'm running out of ideas
How easy/likely is a non-registry-using (=> portable-friendly) version?
Title: Re: T-Clock 2010 (alpha - download)
Post by: Stoic Joker on March 26, 2010, 05:29 PM
It seem almost poetic :-\ lyrical - Is there a tune that goes with it?
Good question :)

Up Coming Stuff: I'm currently working on the (much needed) "live" timer countdown interface. The plan is to have a single location where a selectable group of active timers can be monitored.
Sounds nice!  Would a hotkey to toggle visibility make sense?
Hm... I'll look into it.

Also working on making the stopwatch controllable from the command prompt, so a script can start/stop/lap/reset the counter for execution time checking.
Mmmmm, command line access.  More of that!
I've already got a few issues with the current CLI options, so what else I can do in that direction will depend on how well that turns out.

Beyond that ... I'm running out of ideas
How easy/likely is a non-registry-using (=> portable-friendly) version?
Inside Program Files (UAC/File Permissions/etc.) no. Outside Program Files .ini handling isn't really that difficult - So it sounds do-able.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on March 27, 2010, 01:16 PM
Okay, first beta of TC2010 now available.

Stopwatch can now can be controlled form the command line:

      /exit   : Exit T-Clock 2010
      /prop   : Open T-Clock 2010 Properties
      /start   : Start the Stopwatch Counter (open as/if needed)
      /stop   : Stop (pause really) the Stopwatch Counter
      /lap   : Record a (the current) Lap Time
      /reset   : Reset Stopwatch to 0 (stop as/if needed)


Timers Can now be viewed/monitored:
[ You are not allowed to view attachments ]

Highlight a timer in ListView & hit Delete - To get Exit Options.

Note: Timer Watch will automatically close if last timer is removed, or if a Single watched timer Expires.

Feedback Appreciated. :)
Title: Re: T-Clock 2010 (beta - download)
Post by: ewemoa on March 27, 2010, 04:12 PM
Trying out the first beta of TC2010 (congratulations, btw  :Thmbsup:)

Stopwatch can now can be controlled form the command line:

      /exit   : Exit T-Clock 2010
         ...
      /stop   : Stop (pause really) the Stopwatch Counter
      /lap   : Record a (the current) Lap Time
      /reset   : Reset Stopwatch to 0 (stop as/if needed)
Woohoo!  Mmm, command line options...Sorry, I'll try to contain myself.

The quoted 1 + 3 items appear to work as expected here.

      /prop   : Open T-Clock 2010 Properties
      /start   : Start the Stopwatch Counter (open as/if needed)
These made a corresponding dialog of T-Clock active -- which seems to make sense for /prop, but I'm not sure it does for /start.  Do you get the same behavior?

Timers Can now be viewed/monitored:
Took me a bit to figure out how to make that window appear :) 

Some observations:

I had a single timer visible in the Timer Watch dialog, stopped it from the Add/Edit dialog (so this is neither expiring nor plain removal from the dialog), and noticed that the Timer Watch dialog went away.  Is that what happens there?  Not sure what I think of that yet.

Highlight a timer in ListView & hit Delete - To get Exit Options.
This seemed to work for all three cases.

I started to wonder whether it might be useful to be able to start expired or stopped timers from the Timer Watch dialog -- and/or perhaps have some way to get the Add/Edit Timer dialog to appear via a hotkey or button press.  Still at the wondering stage though.

Note: Timer Watch will automatically close if last timer is removed, or if a Single watched timer Expires.
I observed these two results too.  I'm not sure what I think of the latter yet.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on March 28, 2010, 09:11 AM
Trying out the first beta of TC2010 (congratulations, btw  :Thmbsup:)

Stopwatch can now can be controlled form the command line:

      /exit   : Exit T-Clock 2010
         ...
      /stop   : Stop (pause really) the Stopwatch Counter
      /lap   : Record a (the current) Lap Time
      /reset   : Reset Stopwatch to 0 (stop as/if needed)
Woohoo!  Mmm, command line options...Sorry, I'll try to contain myself.

The quoted 1 + 3 items appear to work as expected here.

      /prop   : Open T-Clock 2010 Properties
      /start   : Start the Stopwatch Counter (open as/if needed)
These made a corresponding dialog of T-Clock active -- which seems to make sense for /prop, but I'm not sure it does for /start.  Do you get the same behavior?
The /prop  &  /exit switches have always been in T-Clock, they're part of Kazubon's origional code. /stop, /lap, & /reset are all rather predictable as they assume (require) the stopwatch be running to effect their changes. /start however has a dual purpose (requirement) which will both start the counter and launch the stopwatch dialog window if it isn't already open. If the stopwatch window was already open, it would only start the counter in the pre-existing window.

Timers Can now be viewed/monitored:
Took me a bit to figure out how to make that window appear :) 

Some observations:

I had a single timer visible in the Timer Watch dialog, stopped it from the Add/Edit dialog (so this is neither expiring nor plain removal from the dialog), and noticed that the Timer Watch dialog went away.  Is that what happens there?  Not sure what I think of that yet.
I guess it would seem a bit quirky at first glance - But the logic behind it is that if there is only one timer(/purpose for the window) running, and that timer is canceled, why make the user close two windows just to get rid of it. Hence the window's self terminating if un-needed behavior.

...And yes, I do need to flush out the help file a bit in that department.

Highlight a timer in ListView & hit Delete - To get Exit Options.
This seemed to work for all three cases.

I started to wonder whether it might be useful to be able to start expired or stopped timers from the Timer Watch dialog -- and/or perhaps have some way to get the Add/Edit Timer dialog to appear via a hotkey or button press.  Still at the wondering stage though.

I've pondered that one myself, unfortunately getting the timers to restart from the watch window would require recoding the whole shebang from scratch as launching the timers is dependent on accessing a CBGetItemData structure which is only available when the add/edit window is open.

I haven't started exploring the hotkey option yet, but that will be dependent on how reliably I can make it without hooking even deeper into the shell.

Note: Timer Watch will automatically close if last timer is removed, or if a Single watched timer Expires.
I observed these two results too.  I'm not sure what I think of the latter yet.
[/quote]

Granted I'm assuming ... :) But...
If the last watched timer is removed, the next logical step would be to close the now un-needed window (which is why it's automated).

If a single timer expires, the alarm is more of an attention getter that a string of zeros (or the expired flag) so auto-closing the window while the clock is flashing & beeping saves an extra click.

The first (tricky) part was just get the thing to work ... :) ... *Shrug* the design behavior after that is up for debate. So let me know if it starts to grow on ya, or just itchs real bad.

Thank You,

Stoic Joker
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on March 28, 2010, 01:08 PM
Okay, as it turns out Hotkeys are a hell of a lot easier that I'd originally thought. So...

T-Clock Hotkeys
Ctrl + Shift + S      : Opens the T-Clock Stopwatch.
Ctrl + Shift + T      : Opens T-Clock Add/Edit Timers.
Ctrl + Shift + W   : Opens the T-Clock Timer Watch Window.
Note: Timer Watch will auto-close if it isnโ€™t needed (has no timers being watched).

Now included in the new build available in the usual place.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on March 28, 2010, 07:54 PM
For you Astronomy buffs, I've added the Julian Date as a custom formatting option (JD)

If you are wondering what the Julian Date (http://en.wikipedia.org/wiki/Julian_day) is...

Today is: 2455283.5

Download in usual place
Title: Re: T-Clock 2010 (beta - download)
Post by: ewemoa on March 29, 2010, 08:59 PM
Okay, as it turns out Hotkeys are a hell of a lot easier that I'd originally thought. So...

T-Clock Hotkeys
Ctrl + Shift + S      : Opens the T-Clock Stopwatch.
Ctrl + Shift + T      : Opens T-Clock Add/Edit Timers.
Ctrl + Shift + W   : Opens the T-Clock Timer Watch Window.
Note: Timer Watch will auto-close if it isnโ€™t needed (has no timers being watched).
Thanks for adding these.  They seem to work here.

Ctrl+Shift+T happens to be something I use often for Firefox (opening the most recently closed tab).

Given the possibility of conflicting shortcut keys, I wonder if configurability of the specific keys would be helpful.  If that's a pain or too much work or whatever, perhaps you can punt on the shortcut keys for the moment (sorry, I know I asked for them initially).

A random thought: if command line options for the functionality of opening (and closing or toggling) the various windows were available, it'd be possible to set up something else (e.g AHK or FARR) to handle the specification and triggering of hotkeys.  What do you think?
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on March 29, 2010, 10:18 PM
Okay, as it turns out Hotkeys are a hell of a lot easier that I'd originally thought. So...

T-Clock Hotkeys
Ctrl + Shift + S      : Opens the T-Clock Stopwatch.
Ctrl + Shift + T      : Opens T-Clock Add/Edit Timers.
Ctrl + Shift + W   : Opens the T-Clock Timer Watch Window.
Note: Timer Watch will auto-close if it isnโ€™t needed (has no timers being watched).
Thanks for adding these.  They seem to work here.

Ctrl+Shift+T happens to be something I use often for Firefox (opening the most recently closed tab).

Shit, I was afraid that would happen.

Given the possibility of conflicting shortcut keys, I wonder if configurability of the specific keys would be helpful.  If that's a pain or too much work or whatever, perhaps you can punt on the shortcut keys for the moment (sorry, I know I asked for them initially).

It seemed reasonable enough at the time (and I like Hotkeys). I figure there are three options:
1. Add the Alt key to the Ctrl + Shift + X combo (and hope that's not used too)
2. Switch to Ctrl + Fx (and hope nobody else thought of that option)
3. Make the keys configurable - which means adding a tab to the properties dialog, in which case I'll have to reorganize all the existing pages (again).

A random thought: if command line options for the functionality of opening (and closing or toggling) the various windows were available, it'd be possible to set up something else (e.g AHK or FARR) to handle the specification and triggering of hotkeys.  What do you think?

If it's gotta be written in something, I might as well write it into the existing app. ...Guess I'll just half to get blind drunk and a dart board to figure this one out. ;)
Title: Re: T-Clock 2010 (beta - download)
Post by: callethan on March 30, 2010, 09:22 AM
So I sent a hoot out to the void in June of 2008, not really expecting any return, but sometimes you try, you know, just in case. - So imagine my pleasant surprise to find a message in my inbox from that most stoic of jokers.  ;D

Not only that, but he had done the thing I asked for(!) How totally awesome!


Now, just one little thing....
I asked for Julian date, but it turns out that what is often referred to as 'Julian date' is, um, really Ordinal date (http://en.wikipedia.org/wiki/ISO_8601#Ordinal_dates) :-[  In other words, what I was really looking for is 'Day of the year' 1-135, 366 on leap years. Please? Pretty Please?


Also, one of the neat features in TClockEx was having 'launch other application' in the Mouse config menus.


Gotta say, us power users tend to have a couple applications tied to hotkeys, so you really have to allow users to re-assign or disable them.


I have been using TClock, TClockEX, etc. for about the last 10 years, and it is really nice to see this work and refreshing. THANK YOU!  :Thmbsup:
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on March 30, 2010, 12:47 PM
So I sent a hoot out to the void in June of 2008, not really expecting any return, but sometimes you try, you know, just in case. - So imagine my pleasant surprise to find a message in my inbox from that most stoic of jokers.  ;D

Not only that, but he had done the thing I asked for(!) How totally awesome!


Now, just one little thing....
I asked for Julian date, but it turns out that what is often referred to as 'Julian date' is, um, really Ordinal date (http://en.wikipedia.org/wiki/ISO_8601#Ordinal_dates) :-[  In other words, what I was really looking for is 'Day of the year' 1-135, 366 on leap years. Please? Pretty Please?

I actually quite glad you brought this up. I had to research Julian Date to find out what it was, before having a go at it. But As I recall your Email did mention that you were looking for a YYYY.DDD format ... Which doesn't quite match the JD standard that I found and used. Now I understand why (thank you).

So at this point I'd really only need to add a Day-Of-Year option and then the Ordinal date format you're after would be easily configurable. I can do that - I was actually already on-the-fence about adding the DOY, so I'll just toss it into the next build.


Also, one of the neat features in TClockEx was having 'launch other application' in the Mouse config menus.
Um... TClockEx was Dale Nurden's project ... I'm the other guy... ;)


Gotta say, us power users tend to have a couple applications tied to hotkeys, so you really have to allow users to re-assign or disable them.
Yes, I've slowly been resigning myself to that. The last build was just a test to see if I could do it (add hotkeys) ... Next trip through we get to find out if I can do it correctly... :)


been using TClock, TClockEX, etc. for about the last 10 years, and it is really nice to see this work and refreshing. THANK YOU!  :Thmbsup:

I'm glad to see folks still enjoying T-Clock - and Thank You, I truly do appreciate the feedback.
Title: Re: T-Clock 2010 (alpha - download)
Post by: wr975 on March 30, 2010, 01:02 PM
Well, much as I hate to regard silence as acceptance ... I gotta go with it.

Sorry for not responding about the week feature request. Totally missed that post as you said, it'll take some time. Thank you for implementing this feature. I think it's perfect the way it is (ISO Sunday, ISO Monday, Simple).  :Thmbsup:
Title: Re: T-Clock 2010 (beta - download)
Post by: cranioscopical on March 30, 2010, 01:34 PM
Guess I'll just half to get blind drunk and a dart board to figure this one out.

And yet, I'm sure you'll hit the bulls-eye!

A few Donation Credits coming your way for the indefatigable effort and constant improvement!
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on March 30, 2010, 07:33 PM
Now, just one little thing....
I asked for Julian date, but it turns out that what is often referred to as 'Julian date' is, um, really Ordinal date (http://en.wikipedia.org/wiki/ISO_8601#Ordinal_dates) :-[  In other words, what I was really looking for is 'Day of the year' 1-135, 366 on leap years. Please? Pretty Please?
Luckily (for both of us) the code is strikingly similar - So I got all of the above it one shot. How ever while Julian Date was crystal clear regarding the "Thow Shalt Not Uses Any Other But UTC" part, the Ordinal Date (after an hour on Google) wouldn't break one way or the other. ... So I did both:
 1. OD = Ordinal Date (YYYY-DDD) Using UTC Time (shown in screen shot below).
 2. Od = Ordinal Date (YYYY-DDD) Using Local Time.
 3. DOY = Day-Of-Year in Decimal (001 - 366) format.

Yes, I was playing with the font size before taking the SS - The fonts do seem to scale nicely... :)

[ You are not allowed to view attachments ]



Well, much as I hate to regard silence as acceptance ... I gotta go with it.

Sorry for not responding about the week feature request. Totally missed that post as you said, it'll take some time. Thank you for implementing this feature. I think it's perfect the way it is (ISO Sunday, ISO Monday, Simple).  :Thmbsup:

Thank you, I'm truly relieved to know that the function passed muster. ...And Thank You also for the encouragement. ;)


Guess I'll just half to get blind drunk and a dart board to figure this one out.

And yet, I'm sure you'll hit the bulls-eye!

A few Donation Credits coming your way for the indefatigable effort and constant improvement!
-cranioscopical (March 30, 2010, 01:34 PM)

Gees, I hope not - That'll make the bull real mad ... Then What'll I Do... :D

Thank You.
Title: Re: T-Clock 2010 (beta - download)
Post by: cranioscopical on March 30, 2010, 08:24 PM
I hope not - That'll make the bull real mad ... Then What'll I Do...
Try for the udder one?
Title: Re: T-Clock 2010 (beta - download)
Post by: callethan on April 02, 2010, 02:17 PM
Luckily (for both of us) the code is strikingly similar - So I got all of the above it one shot. How ever while Julian Date was crystal clear regarding the "Thow Shalt Not Uses Any Other But UTC" part, the Ordinal Date (after an hour on Google) wouldn't break one way or the other. ... So I did both:
 1. OD = Ordinal Date (YYYY-DDD) Using UTC Time (shown in screen shot below).
 2. Od = Ordinal Date (YYYY-DDD) Using Local Time.
 3. DOY = Day-Of-Year in Decimal (001 - 366) format.

WooHoo! You da MAN. The Manerator. The Manerino.

Installed it, played with it, it works! Simple, Clean, Nice.

In other words THANK YOU.

(Now I'm going to have to figure out this donation thingy...)



Title: Re: T-Clock 2010 (beta - download)
Post by: PhilB66 on April 03, 2010, 04:09 AM
Awesome. Thanks for this, Stoic Joker.

Would love to see a portable edition too.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on April 03, 2010, 10:42 AM
Glad to see the new features being well received ... as there's always a fine line between being feature rich and junked up (that I don't want to cross).

I had to take a short break due to getting completely fried bouncing between TC and the office projects. That and the configurable hotkey functionality is proving to be as difficult as I thought it would be (to do properly). Also my wife had surgery yesterday (which went well).

There are a couple of things I'm planning, but here are some of the highlights:
 1. I have concocted a rough plan on how to attack the hotkey project which I'll be exploring this afternoon.
 2. There are plans for an .ini based portable version, but they haven't completely gelled yet.
 3. I'm still getting hammered on the Time Sync front - which has me torn on what to do - All research attempts have led back to a (UAC prompt filled) dead end. So f0dder if Ya happen to wander by... I'm open for ideas.
Title: Re: T-Clock 2010 (beta - download)
Post by: f0dder on April 03, 2010, 10:51 AM
Dunno if there's much you can do about the time sync issue - unless you're willing to run a background service with admin privileges that t-clock can communicate with :)
Title: Re: T-Clock 2010 (beta - download)
Post by: mouser on April 03, 2010, 11:42 AM
who cares if a uac prompt comes up? if time sync is a manual action triggered from system tray i dont mind if i have to ok a UAC prompt.  i just want to have easy access to the command.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on April 03, 2010, 03:05 PM
Dunno if there's much you can do about the time sync issue - unless you're willing to run a background service with admin privileges that t-clock can communicate with :)

Compounded by the fact that there is already an existing time service that I don't want to run afoul of (domain membership). While I could (for simplicity sake and to allow portability) leverage the existing Windows Time Service, it quickly turns into a kludge because of the (workgroup membership) defaults which only update every 7 days, and then there's the issue that most folks tend to use the default time.microsoft.com which fails frequently for a multitude of reasons.

We are on the same page here (privileges wise), I was just hoping you could think of something I was missing.

who cares if a uac prompt comes up?

I do. ...One of the core premises for the project is that it be (draconian) Corporate Network user friendly ... So administrators need not worry if it was set-off within their realm.

if time sync is a manual action triggered from system tray i dont mind if i have to ok a UAC prompt.  i just want to have easy access to the command.
Understood. point taken, but "we" still have to contend with the proclivities of the rest of the great unwashed masses... that also might be inclined to set this thing off, and spasticly panic of an ominous looking security message is triggered.

Remember I'm working in pure C here, it's all-or-none - I don't have the luxury of the C# style runtime code level permissions checking/validation/prompting. Best I can do is what I hinted at earlier, which is to configure Quicky Menu option to point at a script that fires the Windows Time Service re-sync. That way the script handles/contends with the permissions prompting.

My typical uptimes are measured in months. I know the clock in Windows likes to drift a bit, because it completely ignores the hardware clock (after boot) and keeps its own time going forward during the session (it's a HAL thing). Unfortunately, the only current (reduced permissions) security model safe option is to let Windows handle the time.

The only reason I haven't completely closed the book on this is that I'm a bit of a (die-hard) nonconformist and love bending the rules in an attempt to invent have-your-cake-and-eat-it-too solutions. This one however has me stumped.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on April 06, 2010, 07:11 AM
I updated the DL last night, but was too fried to post the description ... and now I'm pressed for time. *Sigh*

Configurable hotkeys now available - for trial by fire :) ...I'm hoping the usage is self explanitory as I tried to emulate the native Windows shortcut hotkey interface behavior as closely as possible. This is with the exception of the added reset button requirement which prevents Ctrl Tabbing through the Tab'ed dialog from borking the config.

Title: Re: T-Clock 2010 (beta - download)
Post by: ewemoa on April 06, 2010, 07:56 AM
Thanks for the update.

I briefly tried the HotKeys feature in beta -5-.

[ You are not allowed to view attachments ]

To reproduce, please try:

1. Bring up HotKeys tab in Properties dialog (what, no hotkey for this?  kidding)
2. Click Reset button for "Display Timer Watch Hotkey"
3. Enter hotkey: Control+Shift+S
4. Click Apply buton
5. Press: Control+Shift+S (notice window pop up)
6. Click Reset button for "Display Timer Watch Hotkey"
7. Try to enter hotkey: Control+Shift+S (notice that only the text Control+Shift shows up and a timer watch window pops up)
8. Click on Properties dialog
9. Try to enter hotkey: Control+Shift+S (notice that the text field gets additional content)
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on April 06, 2010, 09:07 AM
Thanks for the update.

I briefly tried the HotKeys feature in beta -5-.
 (see attachment in previous post (https://www.donationcoder.com/forum/index.php?topic=21944.msg200862#msg200862))
To reproduce, please try:

1. Bring up HotKeys tab in Properties dialog (what, no hotkey for this?  kidding)

In retrospect, it's a hell of a good question (I'll have to work on that).

2. Click Reset button for "Display Timer Watch Hotkey"
3. Enter hotkey: Control+Shift+S
4. Click Apply buton
5. Press: Control+Shift+S (notice window pop up)
6. Click Reset button for "Display Timer Watch Hotkey"
7. Try to enter hotkey: Control+Shift+S (notice that only the text Control+Shift shows up and a timer watch window pops up)
8. Click on Properties dialog
9. Try to enter hotkey: Control+Shift+S (notice that the text field gets additional content)

Hm... (May be an artifact from the old config.) Can't play with that now (I'm at work), but I'd swear that should be impossible (granted the SS differs... :)). After the initial (just updated) run can you do it again?
Title: Re: T-Clock 2010 (beta - download)
Post by: ewemoa on April 06, 2010, 04:33 PM
After the initial (just updated) run can you do it again?
Sorry, not sure I follow.  I tried the steps again (after exiting the application once and restarting it) and was able to reproduce, FWIW.  I also re-downloaded (with 2 different browsers) but the hashes came out the same as the original beta -5-.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on April 06, 2010, 06:32 PM
After the initial (just updated) run can you do it again?
Sorry, not sure I follow.  I tried the steps again (after exiting the application once and restarting it) and was able to reproduce, FWIW.  I also re-downloaded (with 2 different browsers) but the hashes came out the same as the original beta -5-.

That's ok I was off in the weeds anyway... ;)

After getting home, re-reading and duplicating the bugg it dawned on me that I had seen that behavior before. But I'd blown it off as me just being (dumb) to tired and forgetting which keys I'd already assigned. The Windows Shortcut Hotkey control I've been trying to emulate, does however handle that very same situation in a considerably more graceful fashion (than ignoring it - which I did).

So, I gave TC a quick behavioral modification - it will now respond appropriately to a sudden loss of focus.
Title: Re: T-Clock 2010 (beta - download)
Post by: ewemoa on April 06, 2010, 08:04 PM
Testing -beta- 5.2.

Not seeing previously reported problematic behavior  :Thmbsup:

Now seeing:

1. Bring up HotKeys tab in Properties dialog
2. Click Reset button for "Display Timer Watch Hotkey"
3. Enter hotkey: Control+Shift+A
4. Click Apply buton

[ You are not allowed to view attachments ]

and

[ You are not allowed to view attachments ]

Note: Control+Shift+A works though.

After exiting and starting up again though the hotkey configure state appears appropriate (it shows Control+Shift+A) and the hotkey is active.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on April 07, 2010, 05:14 AM
Overlapping Schools of thought - error message wise (guess I'll have to pick one... :)).

I got one other (bugg i created...) issue I've gota get nailed down before the next update - But it will look like:

[ You are not allowed to view attachments ]
Title: Re: T-Clock 2010 (beta - download)
Post by: ewemoa on April 07, 2010, 06:41 AM
Nice-looking dialog :)

BTW, I have not succeeded in getting a hotkey with the windows key to work.  Should it? 

A specific example is for the combination:

  Left Windows + A

While configuring the hotkey combination, after I pressed the Apply button, I saw "None" as a field value (no error). 

Trying the hotkey combination out after configuration didn't seem to have any effect. 

A short while later, I noticed that when I was typing a letter "A", the hotkey seemed to come into play (a dialog popped up). 

Upon checking the hotkey configuration dialog, I noticed that the field value now had the value "Left Windows + A" in it.  However, invoking the hotkey combination didn't work, though a single letter "A" seemed to.

I hope the description made sense.

Are you able to reproduce on your end?
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on April 07, 2010, 05:40 PM
BTW, I have not succeeded in getting a hotkey with the windows key to work.  Should it?

That is/was one of those I was on-the-fence issues I'd planned to get back to later. The Windows keys do not work reliably because they're a reserved System Key. While I'd toyed with trying to make it work (to see if I could), I suspect it would be a very bad coding practice to foist on the users. The standard Windows Shortcut options block them from being used ...(for a reason)... So, I will also in the next build.

Thank you, for your continued efforts at poking holes in my code :)
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on April 07, 2010, 10:46 PM
Okay, at this point I've managed to create, modify, fix, resurrect, compound, befriend, and finally kill about 15 new buggs that crawled out of the woodwork in the process of addressing the above (Win + A) issue. Seems there was a lurking flaw in the design of the structure I created for handling the hotkey configuration sets, that caused the whole thing to hit the fan on a x64 box (most of my testing is done on a XP VPC).

Anyhow... I've now locked out the Windows Keys and any other combination that may tend to get folks in trouble (i.e. Shift + A-Z, etc.).

So... Since I've now (between here and the office) been coding for 17hrs straight, I'm going to go fall over dead. :)
Title: Re: T-Clock 2010 (beta - download)
Post by: Lutz_ on April 08, 2010, 01:05 AM
Wow! Have a good rest!
Just wanted to say thanks for this great program.   :)
Title: Re: T-Clock 2010 (beta - download)
Post by: ewemoa on April 08, 2010, 03:07 AM
Yes, hope you get some good rest :)
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on April 11, 2010, 10:26 AM
Okay, Time Synchronization: (mouser...) Being that it was stated that a manual sync would be acceptable...It gave me a bit of (~Artistic~License~) Latitude. I did not want to have TC2010 triggering any manner of Administrative Rights/UAC Issues/Prompts. So, The best (Have-Your-Cake-and-Eat-it-Too) solution I could concoct was to (give TC2010 a split personality) run the Time Sync from a 2nd session via the command line.

Hence the TC2010 still does not require Administrative Rights - But the Time Sync (which it now has) does. Navigate to the TC2010 with an Administrative Command Prompt and run Clock /Sync This will partially load a 2nd (hook-less) copy of TC2010 that will synchronize the time with the selected NTP Server and then exit.

[ You are not allowed to view attachments ]

Now As I mentioned this is a rough draft, so there is currently no interface to configure the time server with. The registry entry will (for the moment) need to be manually added to the registry here:
Key: HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\SNTP
Type: REG_SZ
Name: Server
Value: [Your Choice of Time Servers]

You can also add (to the same location):
Type: DWORD
Name: SaveLog
Value: 1 (default of false)

To have it create SNTP.log in its own directory (which currently (unavoidably) tends to fail if it's in Program Files on Vista/7) - Choices for now are either log -or- MessageBox sync successful message.

While I am releasing this (rough-hewn) feature a bit early, the object is to see how well this compromise is received - before I poured a ton of time into something that totally sucks... ;)

Feedback (desperately needed) Appreciated!
Title: Re: T-Clock 2010 (beta - download)
Post by: mouser on April 11, 2010, 11:45 AM
If i had any idea this was going to be so much work (for you) i never would have asked for it, regarding registry settings, etc.
i'm really not sure it is worth the effort pursuing.

My request was predicated on the assumption that tclock could simply invoke the built in internet time sync that is part of every windows installation in the Date and Time Properties dialog.. Or even just bring up that dialog and let me click "Update Now" in the built-in windows dialog.  I was just looking for a menu command in the right click menu that would save me a few clicks to bring up that built-in time-sync function.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on April 11, 2010, 01:58 PM
LOL ... You weren't the first (or the only one) to inquire about it. ;)

The sticking point is that setting the time in Windows (Vista/7/etc.) requires administrative rights and/or a UAC prompt acceptance (All roads lead to the SetSystemTime(&NewTime) function). So regardless of what I do with the code, I either have to require the program be run with administrative rights, or saddle the user with UAC prompts ... Which will result in the program being run with administrative rights. That, of course would violate one of the core design requirements that I set forth back in 06 (come to think of it, it was more like 03 when I started the project).

Fortunately, I like a challenge. :) So I cooked up this little scheme which allows the time to be quickly sync'ed from an administrative command prompt - which I'm guessing most of us tend to frequently run and/or keep handy. It's kind of a Power User Easter Egg if you will...

The primary question, at this point, is whether or not this scheme fits your definition of an acceptably convenient solution to (time Sync) problem X?? ...If it does, I'll continue flushing it out with a UI for server & logging configuration etc..
Title: Re: T-Clock 2010 (beta - download)
Post by: mouser on April 11, 2010, 02:05 PM
my main pc is still xp pro, so i don't have UAC prompts here :)

however, on the other win7 machine..

if you are saying the procedure is:
1. set reg key manually
2. Navigate to the TC2010 with an Administrative Command Prompt and run Clock /Sync This will partially load a 2nd (hook-less) copy of TC2010 that will synchronize the time with the selected NTP Server and then exit.

then i regret to say it but i'd much rather bring up the adjust date/time dialog in windows and navigate and click on the Update Time button.  it's hard for me to envision a scenario where i think it would make sense for you to write your own time sync code with your own configuration of time servers..  maybe i'm not the normal user for this, but if i'm running this once per week or month, i have no problem at all dealing with a UAC prompt for such a thing.. but more significantly, i just dont see why you should have to implement this yourself, it seems like a clear case to me where the cleanest solution is to just bring up the built-in windows time sync dialog and let MS handle the issues involved in configuring a time server, etc.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on April 11, 2010, 02:43 PM
ROFL ... Now you know where I was at when the question first arose ... By default Windows XP, Vista, & 7 all auto sync with time.windows.com every 7 days - which was (a large) part of the justification for dropping the feature to begin with.

But I too have a thing about time ... So I continued to entertain the possibilitys... And Kazubon wrote the time sync code back in 95. Hence with a (slightly major) revamp of the socket handling code it wasn't really difficult to put back in - Where & how were the tricky parts. That and If I make it available to anyone, it has to be available for everyone, including the folks who are running (my all time favorite OS) Windows 2000. So... (hehe) ...Here we are.

The feature isn't at all finished, as I still have to add an auto-prompt for preferred NTP server if none is configured, and I'm just hoping to glean some input on what else (if anything) to add to it, to make it as user friendly as possible - without compromising security.
Title: Re: T-Clock 2010 (beta - download)
Post by: ewemoa on April 13, 2010, 08:55 PM
Tangential note...

The Windows keys do not work reliably because they're a reserved System Key.
I was just reading about RegisterHotKey (http://msdn.microsoft.com/en-us/library/ms646309%28VS.85%29.aspx):

The F12 key is reserved for use by the debugger at all times, so it should not be registered as a hot key. Even when you are not debugging an application, F12 is reserved in case a kernel-mode debugger or a just-in-time debugger is resident.
I noticed that the latest T-Clock 2010 doesn't allow F12 to be registered :)

BTW, do you know of a good list of reserved keys?  What I've found so far is:

  http://www.aquariussoft.com/pc-keyboard-hotkey/help-windows-shortcuts.asp
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on April 13, 2010, 09:40 PM
Tangential note...

The Windows keys do not work reliably because they're a reserved System Key.
I was just reading about RegisterHotKey (http://msdn.microsoft.com/en-us/library/ms646309%28VS.85%29.aspx):

Yepper... That was the page that got me to thinking...

The F12 key is reserved for use by the debugger at all times, so it should not be registered as a hot key. Even when you are not debugging an application, F12 is reserved in case a kernel-mode debugger or a just-in-time debugger is resident.
I noticed that the latest T-Clock 2010 doesn't allow F12 to be registered :)

BTW, do you know of a good list of reserved keys?  What I've found so far is:

  http://www.aquariussoft.com/pc-keyboard-hotkey/help-windows-shortcuts.asp

(Pardon the side track - But I just remembered something - There is a program Listed here on the board called ActiveHotKeys that was a total Life Saver when I was working on the configurable hotkeys part. It was the only reason I found out that I was registering the keys properly, but with the wrong information (which is why nothing had worked in testing (for 2 days)). So... I just wanted to throw in a quick pitch for it. :)

Anyhow, I never did find a truly complete list of (default) Windows HotKeys (but I love collecting them), which is why I started putting together a database of them - which I then never had time to finish. It's a bit plain (ok it's ugly) but works:

Stoic Joker's HotKey db (http://www.stoicjoker.com/HotKeys/)


Oh, and if you have any suggestions on/for the Time Sync "feature" (mess) I'm still futzing with it.
Title: Re: T-Clock 2010 (beta - download)
Post by: ewemoa on April 14, 2010, 12:40 AM
(Pardon the side track - But I just remembered something - There is a program Listed here on the board called ActiveHotKeys that was a total Life Saver when I was working on the configurable hotkeys part. It was the only reason I found out that I was registering the keys properly, but with the wrong information (which is why nothing had worked in testing (for 2 days)). So... I just wanted to throw in a quick pitch for it. :)
I'm also a fan of it :)  Though I noticed it didn't seem to work with at least one AHK hotkey of mine (may be that's normal).

Anyhow, I never did find a truly complete list of (default) Windows HotKeys (but I love collecting them), which is why I started putting together a database of them - which I then never had time to finish. It's a bit plain (ok it's ugly) but works:

Stoic Joker's HotKey db (http://www.stoicjoker.com/HotKeys/)
Thanks for that.  That reminds me -- I looked into what you said about the Windows key being reserved a bit more and found this:

  http://blogs.msdn.com/oldnewthing/archive/2007/11/30/6605629.aspx

It pointed to:

  http://msdn.microsoft.com/en-us/library/ms971323

which had an interesting section that starts with the text:

  Use the following guidelines for designing shortcut keys:

May be you are already familiar with it.

Oh, and if you have any suggestions on/for the Time Sync "feature" (mess) I'm still futzing with it.
To be honest, I don't ATM.  But if I think of something...


Edit: I forgot to ask -- I found this Global Atom Viewer (http://www001.upp.so-net.ne.jp/yamashita/product/debug/atomview.htm) but it appears to be a Japanese application.  It seems to be handy when doing RegisterHotKey-related things.  Do you know of anything similar in English?
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on April 14, 2010, 05:40 AM
Edit:[/b] I forgot to ask -- I found this Global Atom Viewer (http://www001.upp.so-net.ne.jp/yamashita/product/debug/atomview.htm) but it appears to be a Japanese application.  It seems to be handy when doing RegisterHotKey-related things.  Do you know of anything similar in English?

Don't believe I've ever seen anything like that one. But an English version might make a good Coding Snack.


On the Windows key links, I don't believe I've been to that page specifically, but the gist of what I skimmed looks to be inline with everything else I'd been reading at the time. I'll have to try and give it a complete read later to see what kind of how to create a UI that doesn't suck tips I can glean.
Title: Re: T-Clock 2010 (beta - download)
Post by: tomos on April 17, 2010, 04:55 PM
finally got around to 'installing' this - thanks!
I never used the older version but this is great :-*

Wondering is there a way to have date & time on two lines,
e.g.

Sat, Apr 17
 23:54:40
Title: Re: T-Clock 2010 (beta - download)
Post by: ewemoa on April 17, 2010, 05:01 PM
I think there is.  Does the image in the following post help?

https://www.donationcoder.com/forum/index.php?topic=21944.msg200201#msg200201
Title: Re: T-Clock 2010 (beta - download)
Post by: tomos on April 18, 2010, 05:11 AM
I think there is.  Does the image in the following post help?

https://www.donationcoder.com/forum/index.php?topic=21944.msg200201#msg200201

yes, there definitely is!
thanks eweomoa :Thmbsup: :)


[edit] also, in options under 'Clock Text' there's 'Line spacing' (I had already seen that but hadnt figured out the \n ...)
Lovely app  :) [/edit]
Title: Re: T-Clock 2010 (beta - download)
Post by: tomos on May 13, 2010, 06:11 AM
Re using timers:
I have one set to blink - my taskbar is on autohide, so what happens is it blinks - but I dont see it as the taskbar remains hidden
Would it be possible to get it to show the taskbar as well?
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on May 13, 2010, 07:11 AM
Now that's a good question. I'll have to look into it and see what the options/possibilities are.

I kinda got sidetracked into a nose dive with the Time Sync/Administrative Rights issue - Which after weeks of testing, ain't gona happen. I am going to leave the code (where I left off) in place for educational purposes, and as part of the Time Sync Easter Egg but it's buggy as hell.
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on May 14, 2010, 07:36 AM
I have installed the beta 6, and have noticed the following.

The properties dialog doesn't appear on screen - but it is in the window list. It looks like it is appearing to the right of the taskbar - however as my taskbar is on the right of the screen this places it off screen.

If I open the properties dialog and go to the alarm page and press OK, or Cancel, - then after about 7 secs. explorer stops working. If instead I go to the clock text, or time format pages it works correctly.

The initial colour of the clock text is black - however the background is also nearly black, so the text is hard to read. While different OSs and themes vary I think that very dark backgrounds are much more common that very light ones, and that white would thus be a better default colour.

When creating an alarm it is difficult to enter the time by typing in the time. In the hour field the cursor is usually at the beginning (even after typing a digit) and thus any typed value is discarded. The minutes field is a little better - or I was just more experienced at the field's oddities.

Alarm sounds tend to be short - often so short as to be easily missed. It would be useful to specify the number of occurrences - so that the bell could ring say 6 times at 6 pm.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on May 14, 2010, 06:44 PM
I have installed the beta 6, and have noticed the following.

The properties dialog doesn't appear on screen - but it is in the window list. It looks like it is appearing to the right of the taskbar - however as my taskbar is on the right of the screen this places it off screen.
Unfortunately I can't seem to duplicate this behavior. I moved my Taskbar to the right side of the screen, selected T-Clock properties and it popped up to the left of the Taskbar as expected. I tried this on both the left & right monitor of a dual monitor (Win7 x64) rig and on a WinXP single monitor rig. Do you perhaps have another desktop customizing app that in bay be confused by/conflicting with?

If I open the properties dialog and go to the alarm page and press OK, or Cancel, - then after about 7 secs. explorer stops working. If instead I go to the clock text, or time format pages it works correctly.
I can't duplicate this one either - But I haven't dug at it extensively yet. Any other details you can provide will be appreciated.
nm I think I found it - Simular to the (now fixed) Mouse Tab Crash - I'll try to get an updated build posted some time this weekend.

The initial colour of the clock text is black - however the background is also nearly black, so the text is hard to read. While different OSs and themes vary I think that very dark backgrounds are much more common that very light ones, and that white would thus be a better default colour.
Now that one has been bugging the crap outa me, and is now on the ToDo list (I had been waiting to revamp the defaults till later).

When creating an alarm it is difficult to enter the time by typing in the time. In the hour field the cursor is usually at the beginning (even after typing a digit) and thus any typed value is discarded. The minutes field is a little better - or I was just more experienced at the field's oddities.
Damn, that is annoying, I'll see about changing its behavior to be more like the Create Timers dialog.

Alarm sounds tend to be short - often so short as to be easily missed. It would be useful to specify the number of occurrences - so that the bell could ring say 6 times at 6 pm.

Ring 6 times at 6:00pm - You mean for the hourly chime? The plain alarms have the repeat option which will loop the sound file until dismissed. Also for alarms, you can throw any sound file at it .wav, .mdi, .mp3 ... The sounds that come with are just handy examples to play with (Okay, granted I love the ClockChimes.wav - But it isn't mandatory... ;) ).

Now the 6 rings @ 6 Hourly Chime thing I like, I'd actually been toying with trying that ... So it looks like I will be now.
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on May 15, 2010, 02:07 PM
I have installed the beta 6, and have noticed the following.

The properties dialog doesn't appear on screen - but it is in the window list. It looks like it is appearing to the right of the taskbar - however as my taskbar is on the right of the screen this places it off screen.
Unfortunately I can't seem to duplicate this behavior. I moved my Taskbar to the right side of the screen, selected T-Clock properties and it popped up to the left of the Taskbar as expected. I tried this on both the left & right monitor of a dual monitor (Win7 x64) rig and on a WinXP single monitor rig. Do you perhaps have another desktop customizing app that in bay be confused by/conflicting with?
-Stoic Joker (May 14, 2010, 06:44 PM)
Windows 7 Home Pro x64 (UK) Single mointor (2560x1600) 144 DPI (150%), No extra apps. Sometimes it will show just the left border of the dialog on the right of the screen. The high DPI setting throws a lot of apps off, so a likely suspect.

Alarm sounds tend to be short - often so short as to be easily missed. It would be useful to specify the number of occurrences - so that the bell could ring say 6 times at 6 pm.

Ring 6 times at 6:00pm - You mean for the hourly chime? The plain alarms have the repeat option which will loop the sound file until dismissed. Also for alarms, you can throw any sound file at it .wav, .mdi, .mp3 ... The sounds that come with are just handy examples to play with (Okay, granted I love the ClockChimes.wav - But it isn't mandatory... ;) ).

Now the 6 rings @ 6 Hourly Chime thing I like, I'd actually been toying with trying that ... So it looks like I will be now.
Actually I was thinking of alarms, not hourly chimes. The standard samples, and a lot of other suitable sounds, are so short as to be easily missed, but I don't want the alarm to repeat until cancelled.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on May 15, 2010, 03:13 PM
Actually I was thinking of alarms, not hourly chimes. The standard samples, and a lot of other suitable sounds, are so short as to be easily missed, but I don't want the alarm to repeat until cancelled.
Hm... Let me Mull that one over a bit - I got see how many worms come flying outa the can when I open it before comitting... ;)
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on May 16, 2010, 08:16 AM
I changed my DPI setting to 100% (96 DPI) an the problem didn't occur, but strangely when I set it back to 150% it didn't recur until I restarted explorer - although normally it occurs all the time.

I have noticed a new problem. When the taskbar is set as transparent there are minor redraw artefacts. When I mouse over an Icon in a toolbar and move the mouse away there is a faint grey square round the icon. Also when a tooltip disappears there is a faint line round where it was, and when the transparency is changed the separator used between toolbars suffers a similar problem.
A screen shot would explain this much better - however the effect isn't seen in the screen shot - which also doesn't show the transparency at all.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on May 16, 2010, 02:29 PM
I changed my DPI setting to 100% (96 DPI) an the problem didn't occur, but strangely when I set it back to 150% it didn't recur until I restarted explorer - although normally it occurs all the time.
I do most of my testing With a Virtual PC running WindowsXP (Which makes for safer crashing) I set it to 150DPI, and discovered much of the T-Clock interface looks like crap that way. Are you seeing that also? But the Properties Dialog positioning remains (on screen) correct. Damn peculiar it is.

I have noticed a new problem. When the taskbar is set as transparent there are minor redraw artefacts. When I mouse over an Icon in a toolbar and move the mouse away there is a faint grey square round the icon. Also when a tooltip disappears there is a faint line round where it was, and when the transparency is changed the separator used between toolbars suffers a similar problem.
A screen shot would explain this much better - however the effect isn't seen in the screen shot - which also doesn't show the transparency at all.
That almost sounds like a driver issue - Vista had problems with stalling clock output (and etc...) when it was first released, but after a few MS updates the problem went away...Which is why I never looked into it. What OS and hardware configuration are you running?
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on May 17, 2010, 05:01 AM
I changed my DPI setting to 100% (96 DPI) an the problem didn't occur, but strangely when I set it back to 150% it didn't recur until I restarted explorer - although normally it occurs all the time.
I do most of my testing With a Virtual PC running WindowsXP (Which makes for safer crashing) I set it to 150DPI, and discovered much of the T-Clock interface looks like crap that way. Are you seeing that also? But the Properties Dialog positioning remains (on screen) correct. Damn peculiar it is.
-Stoic Joker (May 16, 2010, 02:29 PM)
A lot of programs do look bad at high DPI settings but T-Clock looks fine. On the Windows 7 custom DPI dialog there is a checkbox for "Use XP style DPI settings" which in my case is unticked.

I have noticed a new problem. When the taskbar is set as transparent there are minor redraw artefacts. When I mouse over an Icon in a toolbar and move the mouse away there is a faint grey square round the icon. Also when a tooltip disappears there is a faint line round where it was, and when the transparency is changed the separator used between toolbars suffers a similar problem.
A screen shot would explain this much better - however the effect isn't seen in the screen shot - which also doesn't show the transparency at all.
That almost sounds like a driver issue - Vista had problems with stalling clock output (and etc...) when it was first released, but after a few MS updates the problem went away...Which is why I never looked into it. What OS and hardware configuration are you running?

------------------
System Information
------------------
Time of this report: 5/17/2010, 08:33:38
       Machine name: WOL-001
   Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7600) (7600.win7_gdr.100226-1909)
           Language: English (Regional Setting: English)
System Manufacturer: To Be Filled By O.E.M.
       System Model: To Be Filled By O.E.M.
               BIOS: Default System BIOS
          Processor: AMD Athlon(tm) II X2 250 Processor (2 CPUs), ~3.0GHz
             Memory: 6144MB RAM
Available OS Memory: 6144MB RAM
          Page File: 3028MB used, 9256MB available
        Windows Dir: C:\Windows
    DirectX Version: DirectX 11
DX Setup Parameters: Not found
   User DPI Setting: 144 DPI (150 percent)
 System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Enabled
     DxDiag Version: 6.01.7600.16385 32bit Unicode

---------------
Display Devices
---------------
          Card name: NVIDIA GeForce 9500 GT
       Manufacturer: NVIDIA
          Chip type: GeForce 9500 GT
           DAC type: Integrated RAMDAC
         Device Key: Enum\PCI\VEN_10DE&DEV_0640&SUBSYS_604619DA&REV_A1
     Display Memory: 3311 MB
   Dedicated Memory: 495 MB
      Shared Memory: 2815 MB
       Current Mode: 2560 x 1600 (32 bit) (60Hz)
       Monitor Name: Dell 3007WFP
      Monitor Model: DELL3007WFPHC
         Monitor Id: DEL4016
        Native Mode: unknown
        Output Type: DVI
        Driver Name: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Driver File Version: 8.17.0011.9745 (English)
     Driver Version: 8.17.11.9745
        DDI Version: 10
       Driver Model: WDDM 1.1
  Driver Attributes: Final Retail
   Driver Date/Size: 4/3/2010 23:55:31, 11906664 bytes
        WHQL Logo'd: n/a
    WHQL Date Stamp: n/a
  Device Identifier: {D7B71E3E-4500-11CF-7B5C-4D401FC2C535}
          Vendor ID: 0x10DE
          Device ID: 0x0640
          SubSys ID: 0x604619DA
        Revision ID: 0x00A1
        Video Accel: ModeMPEG2_A ModeMPEG2_C ModeVC1_C ModeWMV9_C
       D3D9 Overlay: Supported
            DXVA-HD: Supported
       DDraw Status: Enabled
         D3D Status: Enabled
         AGP Status: Enabled

Title: Re: T-Clock 2010 (beta - download)
Post by: Miaz on May 21, 2010, 03:52 AM
Hi Stoic Joker
Thank you for your mail. T-Clock 2010 Beta is in use. It works great (here XP - tomorrow I will test Windows 7)
No problem to include the week number for Locale "Germany" in Advanced Clock Configuration Options with Format:
ddd, dd/mm/yy hh:nn:ss "KW"Wm
Very good.

Is there, as explained, a possibility to add the week number Wm in first coloumn of the Calendar???
It would be great.
I think, after having read the forum, a lot of people would appreciate this feature.
(Personlly, I need Wm - but probably other people would prefer Ws or Ww)

Thanks and good luck!
Miaz



Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on May 23, 2010, 12:15 PM
Is there, as explained, a possibility to add the week number Wm in first coloumn of the Calendar???
It would be great.

Hm... Well, the Calendar is on my To-Do list of things that need "help", so I'll definitely keep that in mind when I get to it.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on May 23, 2010, 03:40 PM
Okay so in an attempt to get this thing back "on-track" There is now available a new build that has fixes for the Alarm Tab's crashing and other ill behavior.

I vaguely remember fiddling with some other stuff while romping through the weeds with this ]Expletive[ Time Sync fiasco. So some other stuff may (or may not) be changed/fixed/broken/updated/different ... I honestly do not recall.

Regarding the time Sync
  After a truly insane amount of digging, testing, futzing, swearing, & screaming (bad stoic...) I have officially come to the conclusion that the time synchronization option is impossible to do without running the program with administrative rights. Which is to say that from here on-out,  Time Synchronization is not (nor will ever be) Officially supported in T-Clock.

That being said... UnOfficially, if anyone wants to (fully of their own accord) run the damn clock with administrative (which I strongly disapprove of) rights. There is a (completely undocumented...) command line option /SyncOpt that will open the following dialog:
[ You are not allowed to view attachments ]

This is to be construed as an EasterEgg it will only be documented here, in this post, and shall never be officially mentioned in any documentation again. While all of the functions work, some require manual interaction (SNTP.log creation/permissions) - And never open the EE Time Sync Options Dialog and the Properties Dialog at the same time - It will crash. Beyond that it all works Hot keyed Time Syc with sound, message, & logging.
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on May 26, 2010, 08:56 AM
I have downloaded the 0.7 release.

I still get a crash in x64 by going to the alarm tab and closing the dialog.

The dialog still appears off screen.

The about page doesn't give the version no, or date.

I wanted to check I was running the new version so I tried the SyncOpt - this dialog also appears off screen, I also get an error saying "can't open SNTP.log"
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on May 26, 2010, 05:55 PM
I have downloaded the 0.7 release.

I still get a crash in x64 by going to the alarm tab and closing the dialog.
If you could export the T-Clock config from the registry and either post it or send it to me, it will be easier for me to resolve - If I can duplicate the crash.

The dialog still appears off screen.
That has to be an issue/conflict with the high DPI setting (which you mentioned many other apps exibited). I not really sure when/if I'll be able to resolve that one.

The about page doesn't give the version no, or date.
That's true, mainly because I've already got 4 places I have to manually update the build number (version tab of properties dialog) and I didn't want to add a fith that I knew I'd forget.

I wanted to check I was running the new version so I tried the SyncOpt - this dialog also appears off screen, I also get an error saying "can't open SNTP.log"

...Which is why I mentioned in the post right above us that it needed to be manually created.
some require manual interaction (SNTP.log creation/permissions)
-Me Above
- EasterEggs (by design) are supposed to require a bit of tinkering. - That's why they're not to be considered supported "features". :)
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on May 27, 2010, 08:58 AM
I have downloaded the 0.7 release.

I still get a crash in x64 by going to the alarm tab and closing the dialog.
If you could export the T-Clock config from the registry and either post it or send it to me, it will be easier for me to resolve - If I can duplicate the crash.
-Stoic Joker (May 26, 2010, 05:55 PM)
Reg export for HKEY_CURRENT_USER\Software\Stoic Joker's attached, also I don't see the same problem in my x86 machine.

The about page doesn't give the version no, or date.
That's true, mainly because I've already got 4 places I have to manually update the build number (version tab of properties dialog) and I didn't want to add a fith that I knew I'd forget.
The best solution to that is for the app to read the information, put in by the build chain, from the exe.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on May 27, 2010, 07:09 PM
I have downloaded the 0.7 release.

I still get a crash in x64 by going to the alarm tab and closing the dialog.
If you could export the T-Clock config from the registry and either post it or send it to me, it will be easier for me to resolve - If I can duplicate the crash.
-Stoic Joker (May 26, 2010, 05:55 PM)
Reg export for HKEY_CURRENT_USER\Software\Stoic Joker's attached, also I don't see the same problem in my x86 machine.
Well, that was an elusive little bastard ... Apparently it rather picky about what it crashes. Server 2k3 x64 had zero problems with it - but my Win 7 x64 box did finally crash (the shell) when I exited the dialog.

So... (Few carefully placed whacks with a Hammer and...) it appears to be behaving now.

The about page doesn't give the version no, or date.
That's true, mainly because I've already got 4 places I have to manually update the build number (version tab of properties dialog) and I didn't want to add a fifth that I knew I'd forget.
The best solution to that is for the app to read the information, put in by the build chain, from the exe.

 :huh: Does that suggestion come with a map? I've seen the auto increment the build number option in/for C# projects - But this is written in pure (Win32 API) C using MSVS2005 - Which doesn't seem to automatically do much of anything.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on May 27, 2010, 09:59 PM
Actually I was thinking of alarms, not hourly chimes. The standard samples, and a lot of other suitable sounds, are so short as to be easily missed, but I don't want the alarm to repeat until cancelled.
Hm... Let me Mull that one over a bit - I got see how many worms come flying outa the can when I open it before comitting... ;)
-Stoic Joker (May 15, 2010, 03:13 PM)

Okay, You win ... Alarms can now Chime the Hour.
Title: Re: T-Clock 2010 (beta - download)
Post by: tomos on May 28, 2010, 02:04 AM
... Alarms can now Chime the Hour.
-Stoic Joker (May 27, 2010, 09:59 PM)

that sound like fun  ;-)
:D
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on May 28, 2010, 09:14 AM
I have tested 7.2

The alarm crash has gone.

Is this the map you are looking for?
http://msdn.microsoft.com/en-us/library/ms647003(VS.85).aspx
Versions 7 and 7.2 have the same version no in the file (2.0.1.111).
I have a vague memory of VS2005 having an auto build no option somewhere - presumably in the linker options section.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on May 28, 2010, 05:57 PM
I have tested 7.2

The alarm crash has gone.
Hooray!

Is this the map you are looking for?
http://msdn.microsoft.com/en-us/library/ms647003(VS.85).aspx
Versions 7 and 7.2 have the same version no in the file (2.0.1.111).
I have a vague memory of VS2005 having an auto build no option somewhere - presumably in the linker options section.

Um, no. That function is used to pull the version info from a compiled binary for version validation. It actually is already being used in/by T-Clock to verify that the correct .dll version is being used. Here's the actual code:
Code: C++ [Select]
  1. //================================================================================================  
  2. //----------------------------//--------+++--> Verify the Correct Version of tClock.dll is Present:
  3. BOOL CheckDLL(char *fname) { //-----------------------------{ 2.0.1.52 }--------------------+++-->
  4.         DWORD size;
  5.         char *pBlock;
  6.         char szVersion[32] = {0};
  7.         VS_FIXEDFILEINFO *pffi;
  8.         BOOL br = FALSE;
  9.        
  10.         size = GetFileVersionInfoSize(fname, 0);
  11.         if(size > 0) {
  12.                 pBlock = malloc(size);
  13.                 if(GetFileVersionInfo(fname, 0, size, pBlock)) {
  14.                         UINT tmp;
  15.                         if(VerQueryValue(pBlock, "\\\0", &pffi, &tmp)) {
  16.                                 if(HIWORD(pffi->dwFileVersionMS) == 2 &&
  17.                                    LOWORD(pffi->dwFileVersionMS) == 0 &&
  18.                                    HIWORD(pffi->dwFileVersionLS) == 1 &&
  19.                                    LOWORD(pffi->dwFileVersionLS) == 111) {
  20.                                         br = TRUE; //--+++--> Correct tClock.dll File Version Found!
  21.                                 }else{
  22.                                         wsprintf(szVersion, "Version: %d.%d.%d.%d",
  23.                                                 HIWORD(pffi->dwFileVersionMS),
  24.                                                 LOWORD(pffi->dwFileVersionMS),
  25.                                                 HIWORD(pffi->dwFileVersionLS),
  26.                                                 LOWORD(pffi->dwFileVersionLS));
  27.                                 }
  28.                         }
  29.                 }
  30.                 free(pBlock);
  31.         }
  32.         if(!br) {
  33.                 char msg[MAX_PATH+30];
  34.                 strcpy(msg, "Invalid file version: ");
  35.                 get_title(msg + strlen(msg), fname);
  36.                 MyMessageBox(NULL, msg,
  37.                         szVersion, MB_OK, MB_ICONEXCLAMATION);
  38.         }
  39.   return br;
  40. }

But that won't help with automagically updating the build number at compiletime. I thought perhaps you knew of a compiler option or script that would auto update the code during the build process for the older project types - C# projects will happily increment the build number - But this ain't C#
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on May 30, 2010, 06:41 AM
Is this the map you are looking for?
http://msdn.microsoft.com/en-us/library/ms647003(VS.85).aspx
Versions 7 and 7.2 have the same version no in the file (2.0.1.111).
I have a vague memory of VS2005 having an auto build no option somewhere - presumably in the linker options section.

Um, no. That function is used to pull the version info from a compiled binary for version validation. It actually is already being used in/by T-Clock to verify that the correct .dll version is being used.

But that won't help with automagically updating the build number at compiletime. I thought perhaps you knew of a compiler option or script that would auto update the code during the build process for the older project types - C# projects will happily increment the build number - But this ain't C#
-Stoic Joker (May 28, 2010, 05:57 PM)
What about these?
http://www.flounder.com/incrementing_build_numbers.htm
http://support.microsoft.com/kb/237870
http://www.codeproject.com/kb/dotnet/Auto_Increment_Version.aspx#xx1406378xx
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on May 30, 2010, 07:25 AM
Actually I was thinking of alarms, not hourly chimes. The standard samples, and a lot of other suitable sounds, are so short as to be easily missed, but I don't want the alarm to repeat until cancelled.
Hm... Let me Mull that one over a bit - I got see how many worms come flying outa the can when I open it before comitting... ;)
-Stoic Joker (May 15, 2010, 03:13 PM)

Okay, You win ... Alarms can now Chime the Hour.
-Stoic Joker (May 27, 2010, 09:59 PM)
I was only using striking the hour as an example, so would prefer something more flexible - such as a simple numeric.
Also when the alarm is specified using the 24 hour clock then at 6 pm it strikes 18 times not 6.
Title: Re: T-Clock 2010 (beta - download)
Post by: mouser on May 30, 2010, 07:34 AM
I just want to say thank you once again for continued work on t-clock -- it's something i couldn't do without.  :up:
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 03, 2010, 10:21 PM
Actually I was thinking of alarms, not hourly chimes. The standard samples, and a lot of other suitable sounds, are so short as to be easily missed, but I don't want the alarm to repeat until cancelled.
Hm... Let me Mull that one over a bit - I got see how many worms come flying outa the can when I open it before comitting... ;)
-Stoic Joker (May 15, 2010, 03:13 PM)

Okay, You win ... Alarms can now Chime the Hour.
-Stoic Joker (May 27, 2010, 09:59 PM)
I was only using striking the hour as an example,
Crap... (Didn't see that one coming.)

so would prefer something more flexible - such as a simple numeric.
-sagji
Okay, added that - Current Alarm (sound) Options Now:
 Ring once.
 Ring X Times.
 Ring/Chime the Current Hour.
 
Also when the alarm is specified using the 24 hour clock then at 6 pm it strikes 18 times not 6.
-sagji
I'm not really sure that needs fixed.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 05, 2010, 09:33 AM
Hi Stoic Joker
Thank you for your mail. T-Clock 2010 Beta is in use. It works great (here XP - tomorrow I will test Windows 7)
No problem to include the week number for Locale "Germany" in Advanced Clock Configuration Options with Format:
ddd, dd/mm/yy hh:nn:ss "KW"Wm
Very good.

Is there, as explained, a possibility to add the week number Wm in first coloumn of the Calendar???
It would be great.
I think, after having read the forum, a lot of people would appreciate this feature.
(Personlly, I need Wm - but probably other people would prefer Ws or Ww)

Thanks and good luck!
Miaz

It appears that the week number is a built-in option of the calendar control. So adding it - or rather the option to toggle it shouldn't be difficult (...wonder if I just Jinxed myself?). The only issue being that in using the built-in option, I have no control over which week number format it uses. Hopefully that is/will be controlled by the regional settings (Mine seems to default to Ws).

Just to be sure we're on the same page (so I don't miss again...), is this what you're looking for?:
[ You are not allowed to view attachments ]
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 05, 2010, 11:56 PM
Okay, Added Display (ISO) Week Numbers on Calendar Option, Close Calendar on Lose Focus Option, Calendar Dialog now dynamically resizes at runtime if/as needed (toggle Week Numbers to see), and Added Miscellaneous Tab to Properties Dialog to Adjust Above.

So, Let me know what Ya think.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 06, 2010, 01:26 PM
Okay guys, I gotta admit I'm a little ashamed of all of us for this one.

It seems that setting an alarm for X:xx PM resulted in the alarm going off at both X:xx PM & X:xx AM - That's hardly acceptable...and I'm not sure how the hell I missed it (in retrospect). But one of the alarm loop tests (which was set for 6:00 PM) woke me up at 6:00 AM this morning ... Which required a low grade Witch Hunt to crucify the jackass that had woke me up at 6:00 AM on a freaking Sunday... (Which turned out to be me)  :-[ ...Oops.

So... I'll just call this one the Sunday Morning Bugg fix build.
Title: Re: T-Clock 2010 (beta - download)
Post by: tomos on June 06, 2010, 01:42 PM
It seems that setting an alarm for X:xx PM resulted in the alarm going off at both X:xx PM & X:xx AM - That's hardly acceptable...and I'm not sure how the hell I missed it (in retrospect). But one of the alarm loop tests (which was set for 6:00 PM) woke me up at 6:00 AM this morning ... Which required a low grade Witch Hunt to crucify the jackass that had woke me up at 6:00 AM on a freaking Sunday... (Which turned out to be me)  :-[ ...Oops.

So... I'll just call this one the Sunday Morning Bugg fix build.

lol,
go 24hr !  :-)
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on June 07, 2010, 04:15 AM
The 7.5 download includes a copy of 7.3.

Also in the first post it says known issues none - but should it not mention my problem with the properties dialog appearing off screen when DPI is set to more than 100% and the taskbar is on the right?

Some more information about it.
My screen is set to 2560x1600 (widescreen)
Where the dialog appears depends on the width of the taskbar - if it is minimum width then the dialog isn't visable, if it is very very wide then some of the dialog appears to the right of the taksbar, if it is set so that 10 notification icons fill one line then the left border and a very small part of the dialog appear under the taksbar.
Title: Re: T-Clock 2010 (beta - download)
Post by: Miaz on June 07, 2010, 05:14 AM
Okay, Added Display (ISO) Week Numbers on Calendar Option, Close Calendar on Lose Focus Option, Calendar Dialog now dynamically resizes at runtime if/as needed (toggle Week Numbers to see), and Added Miscellaneous Tab to Properties Dialog to Adjust Above.

So, Let me know what Ya think.

Perfect!!!
Thank you - this is absolutely what I need.
Week number is correct - Wm for Germany will be chosen automatically.
Great job!
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 07, 2010, 06:54 AM
The 7.5 download includes a copy of 7.3.
:huh: - crap - fixed.

Also in the first post it says known issues none - but should it not mention my problem with the properties dialog appearing off screen when DPI is set to more than 100% and the taskbar is on the right?
Keyword: rush job. (fixed)

Some more information about it.
My screen is set to 2560x1600 (widescreen)
Where the dialog appears depends on the width of the taskbar - if it is minimum width then the dialog isn't visable, if it is very very wide then some of the dialog appears to the right of the taksbar, if it is set so that 10 notification icons fill one line then the left border and a very small part of the dialog appear under the taksbar.

I'm still kind of circling that one, because I'm not real sure how to attack it (don't give up on me just yet).
Title: Re: T-Clock 2010 (beta - download)
Post by: Miaz on June 07, 2010, 09:22 AM
Hi,
In case you are looking for some nice and helpful options to include, here are some proposals:
- modify date stamps of files and folders (created / last modified / last access)
- copy names and/or path of files/folders to clipboard
Is this possible, anyhow?
I'm looking forward for every new modification  :Thmbsup:
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 07, 2010, 10:09 AM
Hi,
In case you are looking for some nice and helpful options to include, here are some proposals:
- modify date stamps of files and folders (created / last modified / last access)
Unfortunately that is outside the scope of the project - It's a clock.

I do however have another program that does (exactly) that, which I may consider releasing at a later date.

- copy names and/or path of files/folders to clipboard
Is this possible, anyhow?
I'm looking forward for every new modification  :Thmbsup:
This unfortunately would also be outside the (clock) scope of the project. However if you're using Windows 7, hold the Shift key while right clicking and Copy as Path will do what you're looking for.
Title: Re: T-Clock 2010 (beta - download)
Post by: Miaz on June 08, 2010, 12:50 AM
Hi,
In case you are looking for some nice and helpful options to include, here are some proposals:
- modify date stamps of files and folders (created / last modified / last access)
Unfortunately that is outside the scope of the project - It's a clock.

I do however have another program that does (exactly) that, which I may consider releasing at a later date.

- copy names and/or path of files/folders to clipboard
Is this possible, anyhow?
I'm looking forward for every new modification  :Thmbsup:
This unfortunately would also be outside the (clock) scope of the project. However if you're using Windows 7, hold the Shift key while right clicking and Copy as Path will do what you're looking for.

No problem - it was only a thought.
I really appreciate the current options of your program - and thanks again for the addition of the weeks.
BTY: The program I used for the mentioned points was DMEXMenu ShellExtension 3.19.
        But I don't know, whether it's running in Windows 7 or not.
EDIT: I've just seen a thread in DonationCoder regarding DMEX. I will test later.
EDIT2: It's something different. It's a bar - I only had a simple shell extension.
Edit 3: I've tested and I'm surprised: the very old shell extension also works in Windows 7  :)
          So, forget my postings.

 Edit 4: Nevertheless I still have another proposal for calendar: Is it possible to include separate switches for Month and Year? By switching Month by Month it takes very long e.g. to go forward/reverse several Years.
example:   " < >  June 2010  < >"    
I don't know if it's possible to automatically switch year at "Month-Switch" January<>December.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 08, 2010, 10:27 AM
t 4: Nevertheless I still have another proposal for calendar: Is it possible to include separate switches for Month and Year? By switching Month by Month it takes very long e.g. to go forward/reverse several Years.
example:   " < >  June 2010  < >"   
I don't know if it's possible to automatically switch year at "Month-Switch" January<>December. [/color]

Um... (I could be missing something here, but...)

Using the Windows Calendar Control arrows are only for last/next month navigations. if you want June 1975 on Win7:
Click year 3 times (the control "zooms" out to decade view)
Click the decade you want (it zooms in to year selection)
Click the year you want (it zooms in to month selection)
Click the month you want (it shows the usual month view)
done.

On XP:
Click year and scroll to year wanted (1975)
Click month and select month wanted.
done.

I'm not sure what I can add to that. (Unless I'm missing part of the question - which has happened before...)
Title: Re: T-Clock 2010 (beta - download)
Post by: Miaz on June 08, 2010, 12:27 PM
Well ...  now I am at home and have tested all the things on my private PC with Windows 7.
Thank you for the lesson - everything is working as you have explained.
I've been using Windows 7 since middle of May - and I see:  still a lot to learn!

So, I think I'll be quiet in the future and will let the specialists work  :-[

Regards
Miaz
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 08, 2010, 06:49 PM
So, I think I'll be quiet in the future and will let the specialists work

According to a popular version of history...the last guy on earth that claimed to be perfect got crucified for his efforts... :)

Ideas are always welcome.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 08, 2010, 07:05 PM
@sagji - Okay, I'm trying to workout an attack strategy on this DPI issue. I think I may have come up with an angle on it but I have one question. When you are at 2560x1600 with 144DPI does the size 8 font appear to be scaling properly??

I ask because of an old font scaling bugg that caused any size smaller than 9 to be disproportionately tiny. I'm thinking that a similar (calculations mod)  fix may work for your (off) screen position issue. But my hypothesis is dependent on the size 8 font being correctly proportioned when used in your configuration.

Also (side note) is the positioning better or worse when you push the DPI to (i believe the max) 192?
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on June 10, 2010, 05:23 AM
I think the 8 point font looks OK.

With my curent setting normally the dialog appears with just the left most part visible. At 200% it doesn't appear at all. 300% is the same. At 125% it appears entirely to the left of the task bar. When I go back to 150% it also appears to the left of the task bar. If I reboot then it goes back to appearing mostly off screen.

<ADDED>
When it is partly off screen it is only off the right side - the bottom edge is in the correct place.

It might be an idea to log every step in calculating its position - as that might let us see where it is going wrong.
Or if you provide a debug version I could step through it and see if I can see anything.
Title: Re: T-Clock 2010 (beta - download)
Post by: haydut on June 12, 2010, 03:17 AM
Are there any plans for some sort of popup dialogue for alarms? I have no sound on my computers, so the alarm as it stands is no use to me. It'd be nice not to have to use another program.

I notice, on my computer at least, that the time and date seems to only use the top half of the taskbar, and if I increase font size, the bottom of the time and date disappears. I seem to remember I had this problem with TclockEX in Vista. I am using Win 7 Ultimate x64 now.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 12, 2010, 09:01 AM
Are there any plans for some sort of popup dialogue for alarms? I have no sound on my computers, so the alarm as it stands is no use to me. It'd be nice not to have to use another program.
That's what the blink option is for, it flashes the clock face when time is up. However if that's not enough of an attention getter, I could consider a system modal message box popup that bounces a bit. (Okay the bouncing may be a bit much, but I was just thinking that Jack Russel Terriers are impossible to ignore...:)). Would that work for you?

I notice, on my computer at least, that the time and date seems to only use the top half of the taskbar, and if I increase font size, the bottom of the time and date disappears. I seem to remember I had this problem with TclockEX in Vista. I am using Win 7 Ultimate x64 now.
Clock Size & Text Position on the Clock Text Tab are for resizing/moving the clock's position in the taskbar. Al-tho admittedly it's a bit flaky at times. Try toggling the font size up or down (hit apply) and then back where you wanted it (hit apply) if the positioning adjustments don't seem to be "taking" properly. This is an old bugg that's on my To-Kill list that I just haven't gotten to yet.



I think the 8 point font looks OK.

Perfect, something that actually works... :)

With my current setting normally the dialog appears with just the left most part visible. At 200% it doesn't appear at all. 300% is the same. At 125% it appears entirely to the left of the task bar. When I go back to 150% it also appears to the left of the task bar. If I reboot then it goes back to appearing mostly off screen.

I haven't gone quite that high, but I have been able to duplicate some of the behavior. I created a Vista Virtual PC for testing and both it and the XP VPC work fine with the original code, however ... The research I've done points at there being some behavioral changes made it Win 7 so if I don't get any other reports from people running high DPI on Win 2k/XP/Vista (Hint...!) I'll have to add a version check to any fix we can concoct.

My first batch of tests with factoring the DPI into the positioning code did manage to make the issue worse (e.g. reproducible on XP & Vista) ... So that's a good sign that I'm on the right track. I just need to figure out which screen measurement to factor in to pin the thing in the right place. So far I'm pretty sure this one is wrong:
Code: C++ [Select]
  1. iW = GetSystemMetrics(SM_CXSCREEN);  // Desktop Width
  2.   iH = GetSystemMetrics(SM_CYSCREEN); // Desktop Height
  3.  
  4. /////////////////////////////////////////////////////////////////////////////////////////////////////
  5.   hdc = GetDC(NULL);
  6.        
  7.   wscreen = MulDiv(iW, GetDeviceCaps(hdc, LOGPIXELSY), 96);
  8.   hscreen = MulDiv(iH, GetDeviceCaps(hdc, LOGPIXELSY), 96);
  9.        
  10.   ReleaseDC(NULL, hdc);

<ADDED>
When it is partly off screen it is only off the right side - the bottom edge is in the correct place.

I've noticed that behavior, and regardless of taskbar size/position too. Damn Strange it Are!

It might be an idea to log every step in calculating its position - as that might let us see where it is going wrong.
Or if you provide a debug version I could step through it and see if I can see anything.
I'm reasonably certain that the answer lies in feeding the right info into the MulDiv(...) function. as that's the only step where the DPI is handled. The rest is just subtracting the dialog & gap sizes from the X & Y before tossing it to that point via MoveWindow(...)
Title: Re: T-Clock 2010 (beta - download)
Post by: haydut on June 12, 2010, 10:12 AM
Are there any plans for some sort of popup dialogue for alarms? I have no sound on my computers, so the alarm as it stands is no use to me. It'd be nice not to have to use another program.
That's what the blink option is for, it flashes the clock face when time is up. However if that's not enough of an attention getter, I could consider a system modal message box popup that bounces a bit. (Okay the bouncing may be a bit much, but I was just thinking that Jack Russel Terriers are impossible to ignore...:)). Would that work for you?

I was thinking more along the lines of being able to add a line or three of text that would pop up with each alarm, but I realise that may be beyond the scope of the T-Clock. As it happens, I just discovered "Stickies", another very useful little freeware program, which allows me to do what I need. Coincidentally, there's a setting in that program for the alarm to bounce.  :)

I notice, on my computer at least, that the time and date seems to only use the top half of the taskbar, and if I increase font size, the bottom of the time and date disappears. I seem to remember I had this problem with TclockEX in Vista. I am using Win 7 Ultimate x64 now.
Clock Size & Text Position on the Clock Text Tab are for resizing/moving the clock's position in the taskbar.

Thanks! That's what I was missing. I guess I was more, ahem, tired than I thought last night. :beerchug:
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 12, 2010, 10:34 AM
Are there any plans for some sort of popup dialogue for alarms? I have no sound on my computers, so the alarm as it stands is no use to me. It'd be nice not to have to use another program.
That's what the blink option is for, it flashes the clock face when time is up. However if that's not enough of an attention getter, I could consider a system modal message box popup that bounces a bit. (Okay the bouncing may be a bit much, but I was just thinking that Jack Russel Terriers are impossible to ignore...:)). Would that work for you?

I was thinking more along the lines of being able to add a line or three of text that would pop up with each alarm, but I realise that may be beyond the scope of the T-Clock. As it happens, I just discovered "Stickies", another very useful little freeware program, which allows me to do what I need. Coincidentally, there's a setting in that program for the alarm to bounce.  :)

I must say the prospect is interesting ... Can you expand on that feature description a bit? And/or toss me a link to this Stickies program?
Title: Re: T-Clock 2010 (beta - download)
Post by: Jibz on June 12, 2010, 01:38 PM
Something a little like ReminderFox (http://reminderfox.mozdev.org/) or DS Clock (http://www.dualitysoft.com/dsclock/index.html) would be awesome. A pop-up that shows upcoming events.



Title: Re: T-Clock 2010 (beta - download)
Post by: haydut on June 12, 2010, 04:25 PM
Jibz obviously knows what I mean, although I wasn't thinking of a birthday type of reminder, though it would be able to be used for such a thing. I suppose it ought to be called a reminder rather than an alarm, though it would work as both. When the alarm is activated, a dialogue pops up with some text that is input when the alarm/reminder is created. For example, I have to take a number of tablets each day, so each reminder could tell me which tablet I need to take. I used to use Atomic Alarm Clock, which is ideal, but doesn't work in Win x64.

Stickies is at http://www.zhornsoftware.co.uk/  I really feel I should put a good word in for the author as I am now using two of his freeware programs, the other being Zbar which allows a taskbar on a 2nd monitor.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 12, 2010, 05:51 PM
Jibz obviously knows what I mean, although I wasn't thinking of a birthday type of reminder, though it would be able to be used for such a thing. I suppose it ought to be called a reminder rather than an alarm, though it would work as both.
Understood, however if I'm to add that type functionality as a target without modifying the project's (It's a clock) scope...we'll have to persist in calling it an alarm... ;)

When the alarm is activated, a dialogue pops up with some text that is input when the alarm/reminder is created. For example, I have to take a number of tablets each day, so each reminder could tell me which tablet I need to take. I used to use Atomic Alarm Clock, which is ideal, but doesn't work in Win x64.
Hm... Okay, small window, string of text, and a Jack Russel bounce function (honestly my only interest in this is the silly bouncing window) ...That sounds do-able.

First I gotta get the high DPI Dialog Position bugg figured out. but I'll toss this on the To-Do pile.


...Started with Bouncing Window, and my Mind Went Here:
[ You are not allowed to view attachments ]
Title: Re: T-Clock 2010 (beta - download)
Post by: mouser on June 12, 2010, 05:54 PM
hahahahahaha
Title: Re: T-Clock 2010 (beta - download)
Post by: ewemoa on June 12, 2010, 08:25 PM
LOL...and why am I trying to figure out which Far Side it is that I can almost see beneath...
Title: Re: T-Clock 2010 (beta - download)
Post by: haydut on June 13, 2010, 07:20 AM
Heh, now I am going to have to turn the house upside down to find all my forgotten Larson books.  ;D
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on June 13, 2010, 07:45 AM
With my current setting normally the dialog appears with just the left most part visible. At 200% it doesn't appear at all. 300% is the same. At 125% it appears entirely to the left of the task bar. When I go back to 150% it also appears to the left of the task bar. If I reboot then it goes back to appearing mostly off screen.

I haven't gone quite that high, but I have been able to duplicate some of the behavior. I created a Vista Virtual PC for testing and both it and the XP VPC work fine with the original code, however ... The research I've done points at there being some behavioral changes made it Win 7 so if I don't get any other reports from people running high DPI on Win 2k/XP/Vista (Hint...!) I'll have to add a version check to any fix we can concoct.

My first batch of tests with factoring the DPI into the positioning code did manage to make the issue worse (e.g. reproducible on XP & Vista) ... So that's a good sign that I'm on the right track. I just need to figure out which screen measurement to factor in to pin the thing in the right place. So far I'm pretty sure this one is wrong:
Code: C++ [Select]
  1. iW = GetSystemMetrics(SM_CXSCREEN); // Desktop Width
  2.   iH = GetSystemMetrics(SM_CYSCREEN); // Desktop Height
  3.  
  4. /////////////////////////////////////////////////////////////////////////////////////////////////////
  5.   hdc = GetDC(NULL);
  6.        
  7.   wscreen = MulDiv(iW, GetDeviceCaps(hdc, LOGPIXELSY), 96);
  8.   hscreen = MulDiv(iH, GetDeviceCaps(hdc, LOGPIXELSY), 96);
  9.        
  10.   ReleaseDC(NULL, hdc);
Should wscreen not use LOGPIXELSX?
<ADDED>
When it is partly off screen it is only off the right side - the bottom edge is in the correct place.

I've noticed that behavior, and regardless of taskbar size/position too. Damn Strange it Are!

It might be an idea to log every step in calculating its position - as that might let us see where it is going wrong.
Or if you provide a debug version I could step through it and see if I can see anything.
I'm reasonably certain that the answer lies in feeding the right info into the MulDiv(...) function. as that's the only step where the DPI is handled.
But is it the only place where the DPI should be handled? What if some of the other values are already scaled?
The rest is just subtracting the dialog & gap sizes from the X & Y before tossing it to that point via MoveWindow(...)

I did some investigation using the windowspy tool that is part of AutoHotKey and looked at the values for both the taskbar and T-Clock's property window.

With the taskbar set so wide the left edge of the property window's border appears at the left edge. I see the following values.
T-Clock { left: 1035; top: 606; width: 491; height: 440; }
Taskbar { left: 1547; top: 0; width: 1013; height: 1600; }

The two lefts should be the same, and top+height should be close - but they are out by a factor of ~1.5, so it looks like T-Clock has font scaling applied to its coordinate space while the taskbar has the native coordinate space.

Setting the taskbar width so that the border only just appears on-screen I get:
T-Clock { left: 1709; top: 606; width: 491; height: 440; }
Taskbar { left: 2221; top: 0; width: 339; height: 1600; }

Doing some crunching of the number I find
T-Clock.left === 2560 - Taskbar.width - T-Clock.width - 21

Which is correct - but is in native coordinates not font scaled.

So it looks like you are calculating top in font scaled coords, and left in native, and then applying them in a font scaled context.
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on June 13, 2010, 07:51 AM
Heh, now I am going to have to turn the house upside down to find all my forgotten Larson books.  ;D

Which puts into my mind a Larsoneqsue picture of a house resting on its roof, and the caption
"He turned the house upside down looking of it."
Title: Re: T-Clock 2010 (beta - download)
Post by: daddydave on June 13, 2010, 07:58 AM
The first thing I think of when I think of Gary Larson is the cartoon where a guy and a kangaroo are at a bar, and the guy is saying something like, "Well, you may be a kangaroo, but I know a few things about marsupials myself!" So true-to-life!
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 13, 2010, 09:36 AM
I did some investigation using the windowspy tool that is part of AutoHotKey and looked at the values for both the taskbar and T-Clock's property window.

With the taskbar set so wide the left edge of the property window's border appears at the left edge. I see the following values.
T-Clock { left: 1035; top: 606; width: 491; height: 440; }
Taskbar { left: 1547; top: 0; width: 1013; height: 1600; }

The two lefts should be the same, and top+height should be close - but they are out by a factor of ~1.5, so it looks like T-Clock has font scaling applied to its coordinate space while the taskbar has the native coordinate space.

Setting the taskbar width so that the border only just appears on-screen I get:
T-Clock { left: 1709; top: 606; width: 491; height: 440; }
Taskbar { left: 2221; top: 0; width: 339; height: 1600; }

Doing some crunching of the number I find
T-Clock.left === 2560 - Taskbar.width - T-Clock.width - 21

Which is correct - but is in native coordinates not font scaled.

So it looks like you are calculating top in font scaled coords, and left in native, and then applying them in a font scaled context.

Thanks for the analysis, but... I'm afraid I was a bit unclear earlier. The code snippet I posted before is not in the build you are using/have. It was only posted as an example of the solution I am working on (Which makes you analysis flawed - which is my fault). The complete function code for the build you have is:
Code: C++ [Select]
  1. //================================================================================================
  2. //------------------------------+++--> Adjust the Window Position Based on Taskbar Size & Location:
  3. void SetMyDialgPos(HWND hwnd) { //----------------------------------------------------------+++-->
  4.         int wscreen, hscreen, wProp, hProp;
  5.         int wTray, hTray, x, y;
  6.         RECT rc, rcTray;
  7.         HWND hwndTray;
  8.  
  9.   GetWindowRect(hwnd, &rc); // Properties Dialog Dimensions
  10.   wProp = rc.right - rc.left;  //----------+++--> Width
  11.   hProp = rc.bottom - rc.top; //----------+++--> Height
  12.        
  13.   wscreen = GetSystemMetrics(SM_CXSCREEN);  // Desktop Width
  14.   hscreen = GetSystemMetrics(SM_CYSCREEN); // Desktop Height
  15.        
  16.   hwndTray = FindWindow("Shell_TrayWnd", NULL);
  17.   if(hwndTray == NULL) return;
  18.  
  19.   GetWindowRect(hwndTray, &rcTray);
  20.   wTray = rcTray.right - rcTray.left;
  21.   hTray = rcTray.bottom - rcTray.top;
  22.  
  23.   if(wTray > hTray) { // IF Width is Greater Than Height, Taskbar is
  24.           x = wscreen - wProp - 21; // at Either Top or Bottom of Screen
  25.           if(rcTray.top < hscreen / 2)
  26.                   y = rcTray.bottom + 21; // Taskbar is on Top of Screen
  27.           else // ELSE Taskbar is Where it Belongs! (^^^Mac Fag?^^^)
  28.                   y = rcTray.top - hProp - 21;
  29.           if(y < 0) y = 0;
  30.   }else{ //---+++--> ELSE Taskbar is on Left or Right Side of Screen
  31.           y = hscreen - hProp - 21; // Down is a Fixed Position
  32.           if(rcTray.left < wscreen / 2)
  33.                   x = rcTray.right + 21; //--+++--> Taskbar is on Left Side of Screen
  34.           else
  35.                   x = rcTray.left - wProp - 21; // Taskbar is on Right Side of Screen
  36.           if(x < 0) x = 0;
  37.   }
  38.  
  39.   MoveWindow(hwnd, x, y, wProp, hProp, FALSE);
  40. }

I have no idea where the experimental code will put the dialog at high DPI so I don't want to make it too accessible (e.g. make it the primary first post download). But if you are willing to give it a try Here is the compiled test version you thought you were testing earlier.
[Download removed to save space and avoid confusion - SJ]

Sorry about the confusion.
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on June 13, 2010, 07:07 PM
I did some investigation using the windowspy tool that is part of AutoHotKey and looked at the values for both the taskbar and T-Clock's property window.

With the taskbar set so wide the left edge of the property window's border appears at the left edge. I see the following values.
T-Clock { left: 1035; top: 606; width: 491; height: 440; }
Taskbar { left: 1547; top: 0; width: 1013; height: 1600; }

The two lefts should be the same, and top+height should be close - but they are out by a factor of ~1.5, so it looks like T-Clock has font scaling applied to its coordinate space while the taskbar has the native coordinate space.

Setting the taskbar width so that the border only just appears on-screen I get:
T-Clock { left: 1709; top: 606; width: 491; height: 440; }
Taskbar { left: 2221; top: 0; width: 339; height: 1600; }

Doing some crunching of the number I find
T-Clock.left === 2560 - Taskbar.width - T-Clock.width - 21

Which is correct - but is in native coordinates not font scaled.

So it looks like you are calculating top in font scaled coords, and left in native, and then applying them in a font scaled context.

Thanks for the analysis, but... I'm afraid I was a bit unclear earlier. The code snippet I posted before is not in the build you are using/have. It was only posted as an example of the solution I am working on (Which makes you analysis flawed - which is my fault).
I didn't use the code sample at any point in my analysis, and the code sample below matches what I deduced including the magic number of 21.
The complete function code for the build you have is:
Code: C++ [Select]
  1. //================================================================================================
  2. //------------------------------+++--> Adjust the Window Position Based on Taskbar Size & Location:
  3. void SetMyDialgPos(HWND hwnd) { //----------------------------------------------------------+++-->
  4.         int wscreen, hscreen, wProp, hProp;
  5.         int wTray, hTray, x, y;
  6.         RECT rc, rcTray;
  7.         HWND hwndTray;
  8.  
  9.   GetWindowRect(hwnd, &rc); // Properties Dialog Dimensions
  10.   wProp = rc.right - rc.left;  //----------+++--> Width
  11.   hProp = rc.bottom - rc.top; //----------+++--> Height
  12.        
  13.   wscreen = GetSystemMetrics(SM_CXSCREEN);  // Desktop Width
  14.   hscreen = GetSystemMetrics(SM_CYSCREEN); // Desktop Height
  15.        
  16.   hwndTray = FindWindow("Shell_TrayWnd", NULL);
  17.   if(hwndTray == NULL) return;
  18.  
  19.   GetWindowRect(hwndTray, &rcTray);
  20.   wTray = rcTray.right - rcTray.left;
  21.   hTray = rcTray.bottom - rcTray.top;
  22.  
  23.   if(wTray > hTray) { // IF Width is Greater Than Height, Taskbar is
  24.           x = wscreen - wProp - 21; // at Either Top or Bottom of Screen
  25.           if(rcTray.top < hscreen / 2)
  26.                   y = rcTray.bottom + 21; // Taskbar is on Top of Screen
  27.           else // ELSE Taskbar is Where it Belongs! (^^^Mac Fag?^^^)
  28.                   y = rcTray.top - hProp - 21;
  29.           if(y < 0) y = 0;
  30.   }else{ //---+++--> ELSE Taskbar is on Left or Right Side of Screen
  31.           y = hscreen - hProp - 21; // Down is a Fixed Position
  32.           if(rcTray.left < wscreen / 2)
  33.                   x = rcTray.right + 21; //--+++--> Taskbar is on Left Side of Screen
  34.           else
  35.                   x = rcTray.left - wProp - 21; // Taskbar is on Right Side of Screen
  36.           if(x < 0) x = 0;
  37.   }
  38.  
  39.   MoveWindow(hwnd, x, y, wProp, hProp, FALSE);
  40. }

This was very helpfull - I was able to identify why the window doesn't go off the bottom of the screen, and confirm my theory with a little experiment.

This function only changes the position on one axis - the other remains unchanged.
This function contains no DPI scaling, and the values you are working from and all native, however when you set the window's position that appears to be font scaled by the system.

As an experiment I set the taskbat to bottom and made it tall, and opened the properties - it then appeared near the right edge but positioned so the top was near the top of the taskbar.

I have no idea where the experimental code will put the dialog at high DPI so I don't want to make it too accessible (e.g. make it the primary first post download). But if you are willing to give it a try Here is the compiled test version you thought you were testing earlier. (see attachment in previous post (https://www.donationcoder.com/forum/index.php?topic=21944.msg209095#msg209095))
Sorry about the confusion.
The special version places it in the same position as the normal one.

Code Review Comment
The way you check for Horiz/Verti taskbar isn't robust - it works but eventually on some system it will go wrong, and then you will have a very hard to find bug.

Given you split it into 4 positions any way the could should be
Code: C++ [Select]
  1. if (rcTray.top > 0) {
  2.     // tray at bottom
  3.     ...
  4. } else if (rcTray.left > 0) {
  5.     // tray at right
  6.     ...
  7. } else if (rcTray.bottom < hscreen) {
  8.     // tray at top
  9.     ...
  10. } else if (rcTray.right < wscreen) {
  11.     // tray at left
  12.     ...
  13. } else {
  14.     // error - tray is fullscreen
  15.     return;
  16. }
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 14, 2010, 06:50 AM
Interesting theory, however, both X & Y are adjusted at runtime by SetMyDialgPos(...) exclusively. If they weren't the dialogs would all be getting pinned to the top of the screen as they are all initially initialized at position 0,0. I suspect that width always being greated than height, and wide-screen monitors componding that, it's simply taking a larger sampling to skew the numbers far enough to notice/annoy...Either that or both are equally wrong, but the Taskbar is defending its Screen-estate by forcing the dialogs upward. Might be interesting to see what a wide monitor does when run portrait at high DPI.

I did have time to run a few tests yesterday and believe I have found part of the solution. If I feed the DPI into the MulDiv(...) function the dialog will appear it the correct location. The issue being that I'm hard-coding the DPI just for the test because for some reason Pure C does not like the GetDpiX() & GetDpiY() functions. But as soon as I get that figured out, I believe the correct answer will look something like this:
Code: C++ [Select]
  1. // Native Coordinates * Logical Pixels / DPI
  2.   hdc = GetDC(NULL);  
  3.  
  4.   wscreen = MulDiv(iW, GetDeviceCaps(hdc, LOGPIXELSY), GetDpiX());
  5.   hscreen = MulDiv(iH, GetDeviceCaps(hdc, LOGPIXELSY), GetDpiY());
  6.  
  7.   ReleaseDC(NULL, hdc);

Note: The statement in the code commenting "Down is a Fixed Position" is merely in reference to the Taskbar dimensions being irrelevant to the height calculation if the Taskbar was on the (left or right) side of the screen.
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on June 14, 2010, 04:19 PM
OK having another look at it.

One of the following lines is used to set the position of the dialog relative to the unblocked edge - both place the dialog in the correct place.
     x = wscreen - wProp - 21;
     y = hscreen - hProp - 21;

One of the following lines is used to set the position of the dialog relative to the taskbar that is blocking the edge - both place the dialog in the wrong place and the magnitude of the error is proportional to the width of the taskbar.

     y = rcTray.top - hProp - 21;
     x = rcTray.left - wProp - 21;

So it looks like the wscreen and hscreen are already scaled for font size - it is rcTray.top or rcTray.left that needs to be scaled.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 14, 2010, 06:19 PM
So it looks like the wscreen and hscreen are already scaled for font size - it is rcTray.top or rcTray.left that needs to be scaled.
Close, I think we're on the same page now, but the rcTray RECT structure is generated by a query to the system for where the Taskbar window is actually at. Hence it need not be scaled as it's an actual location. 21 isn't important because it just a decorative gap to keep the dialog slightly away from neighboring edges.

The issue, I believe, is in the x & y "measurements" because they're based in the physical pixel resolution which in your case (IIRC) is 2560 x 1600. At the default 96 DPI the physical & logical pixel dimensions match. When the DPI is increased the logical pixel count also increases, but the physical pixel count (can't) doesn't. The x & y values are from GetSystemMetrics(...) which only measures the (current resolution) physical pixel dimensions and throws off the calculations by the logical pixel difference.

Here's an interesting bit. I compiled a test copy with this code:
Code: C++ [Select]
  1. wscreen = MulDiv(iW, GetDeviceCaps(hdc, LOGPIXELSY), 144 /*GetDpiX()*/);
  2.   hscreen = MulDiv(iH, GetDeviceCaps(hdc, LOGPIXELSY), 144 /*GetDpiY()*/);

On XP @ 144DPI the dialog position is perfect.

On Win 7 @ 96DPI the dialog y (height) is correct, but the w is (almost perfectly) in the middle of the screen.

On Vista @ 144DPI perfect, at 96DPI same odd behavior as 7.

[Download removed to save space and avoid confusion - SJ]<-Let me know if this works for you @ 144DPI also)

If I can ever get the GetDpi() functions to cooperate (compile) we should have this thing licked.
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on June 15, 2010, 11:26 AM
So it looks like the wscreen and hscreen are already scaled for font size - it is rcTray.top or rcTray.left that needs to be scaled.
Close, I think we're on the same page now, but the rcTray RECT structure is generated by a query to the system for where the Taskbar window is actually at. Hence it need not be scaled as it's an actual location.
I think you missed a consequence of something I said.

When I use windowspy from AutoHotKey I get actual values - probably returned by using the same method you use to get the position of the taskbar. When it queries the position of the taskbar it sees values based on the actual resolution. When it queries the position of the properties dialog it sees values scaled down for the DPI setting - then the dialog is just off screen (x = 2560) it returns x = 1709.

It looks as if Win 7 is doing the DPI scaleing for you and things are going wrong becasue this means that the x is being scaled twice.

21 isn't important because it just a decorative gap to keep the dialog slightly away from neighboring edges.

The issue, I believe, is in the x & y "measurements" because they're based in the physical pixel resolution which in your case (IIRC) is 2560 x 1600. At the default 96 DPI the physical & logical pixel dimensions match. When the DPI is increased the logical pixel count also increases, but the physical pixel count (can't) doesn't. The x & y values are from GetSystemMetrics(...) which only measures the (current resolution) physical pixel dimensions and throws off the calculations by the logical pixel difference.

Here's an interesting bit. I compiled a test copy with this code:
Code: C++ [Select]
  1. wscreen = MulDiv(iW, GetDeviceCaps(hdc, LOGPIXELSY), 144 /*GetDpiX()*/);
  2.   hscreen = MulDiv(iH, GetDeviceCaps(hdc, LOGPIXELSY), 144 /*GetDpiY()*/);

On XP @ 144DPI the dialog position is perfect.

On Win 7 @ 96DPI the dialog y (height) is correct, but the w is (almost perfectly) in the middle of the screen.

On Vista @ 144DPI perfect, at 96DPI same odd behavior as 7.
 (see attachment in previous post (https://www.donationcoder.com/forum/index.php?topic=21944.msg209275#msg209275)) <-Let me know if this works for you @ 144DPI also)

Nope - you now get both wrong - the dialog appears at the same x as before but not it is only 1/2 way down the screen.

This difference between XP and later is not totally unexpected - on the Win 7 page to set the custom DPI there is a checkbox "use XP style DPI scaling."

If I can ever get the GetDpi() functions to cooperate (compile) we should have this thing licked.
If you put the error message here I could be equally confounded by its incomprehensibility.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 15, 2010, 12:14 PM
Nope - you now get both wrong - the dialog appears at the same x as before but now it is only 1/2 way down the screen.
...Shit. :wallbash:

Well on a brighter note, I don't have to worry about the compiler error now as the code wouldn't have worked anyway...
 :hanged:
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 15, 2010, 07:40 PM
Okay new plan of attack.
  Step 1. RTFM...
  Step 2. Repeat Step 1.

 ...And then I noticed I had the friggin equation backwards.

I'm currently installing Win7 on a Virtual PC so I have a test machine I can safely reboot every 5 minutes, without worry of losing the project history/ or having to restart the other virtual test machines.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 15, 2010, 10:00 PM
Okay, so the MSDN has an article on how to properly support High DPI environments. In said article it had some sample code, which I ripped through, to pull the following out a section of code that was commented as being the right way to handle window positioning at High DPI settings.

When run, it made the problem worse on all of the (XP/Vista/7) test machines, depending on DPI setting, it would either show up in the center, or to the left of the screen.

In a fit of curiosity...(after a short inspirational swearing break)... I concocted the following test:
Currently released un-fixed beta 7.5 build of T-Clock
OS = Windows 7 Pro VPC
Resolution = 1600 x 864
DPI = 144

The Properties Dialog showed up right where it was supposed to ... Which is not exactly the result "we" were expection.

So, here is the "score":
 Sagji cannot get it to work properly (show up in the right place).
 I cannot get it to fail (show up in the wrong place).

  Conclusion: We Really need a third option/party/kind soul/curious bystander to run this thing at 144DPI on Windows 7 to see what it does - because at this point I'm honestly not sure if I'm trying to fix it, or break it.
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on June 16, 2010, 11:46 AM
If this the article you are referring to?
http://msdn.microsoft.com/en-us/library/dd464660(v=VS.85).aspx

From what It says, and what you are seeing it sounds like DPI Virtualisation is on for me and off for you - check if XP scaling is on in the custom DPI setting dialog.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 16, 2010, 12:22 PM
I'll have to explore that this evening. I know I didn't change it there so it'll be set to whatever the default is.

I did try toggling Use XP DPI scaling in the program's shortcut, but it had no effect. Now as to which one can effectivly override the other goes ... I've not a clue.

And yes, that is one of the articles I went through. There is another in the same area that has the code samples I based the (disfunctional) modifications on.
Title: Re: T-Clock 2010 (beta - download)
Post by: daddydave on June 16, 2010, 01:06 PM
I have Win 7 x64 installed, I downloaded the version at the top of the thread, the x64 version , changed Windows to use hideous 144dpi, and T-Clock looks fine to me whether Windows XP scaling is checked or unchecked (was prompted to log off each time). Is there something I should look for?
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 16, 2010, 03:09 PM
I have Win 7 x64 installed, I downloaded the version at the top of the thread, the x64 version , changed Windows to use hideous 144dpi, and T-Clock looks fine to me whether Windows XP scaling is checked or unchecked (was prompted to log off each time). Is there something I should look for?

lol ...bare in mind Sagji is using a 30" monitor at 2560 x 1600, so bumping to fonts up a bit is quite understandable.

Other than letting us know what you monitor size, configuration, & resolution is I can't think of much at the moment - But it's Sagji's bugg (hehe) ... So I'd like to wait and see what his take on this is before drawing any conclusions.

Thank you.

[Musing aloud] Are screen coordinates calculated/handled differently on really big displays?!?
Title: Re: T-Clock 2010 (beta - download)
Post by: daddydave on June 16, 2010, 05:27 PM
I have Win 7 x64 installed, I downloaded the version at the top of the thread, the x64 version , changed Windows to use hideous 144dpi, and T-Clock looks fine to me whether Windows XP scaling is checked or unchecked (was prompted to log off each time). Is there something I should look for?

lol ...bare in mind Sagji is using a 30" monitor at 2560 x 1600, so bumping to fonts up a bit is quite understandable.
Must be nice..:)


Other than letting us know what you monitor size, configuration, & resolution is I can't think of much at the moment - But it's Sagji's bugg (hehe) ... So I'd like to wait and see what his take on this is before drawing any conclusions.

Thank you.

[Musing aloud] Are screen coordinates calculated/handled differently on really big displays?!?
Mine is 1440 x 900. 19" wide screen.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 16, 2010, 06:19 PM
I've got dual Dell UltraSharp 17" monitors. So I can max the VPC at 1600 x 984 @ 144DPI and it still does just fine.
[ You are not allowed to view attachments ]

I'm Stumped.
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on June 18, 2010, 10:58 AM
I have Win 7 x64 installed, I downloaded the version at the top of the thread, the x64 version , changed Windows to use hideous 144dpi, and T-Clock looks fine to me whether Windows XP scaling is checked or unchecked (was prompted to log off each time). Is there something I should look for?

Yes - I get the same untill I reboot.

I did try toggling Use XP DPI scaling in the program's shortcut, but it had no effect. Now as to which one can effectivly override the other goes ... I've not a clue.
Strange I don't get that setting - the closes I have is "Disable display scaling on high DPI systems" in the settings section of Compatibility tab, and everything in that section is disabled.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 18, 2010, 12:30 PM
I have Win 7 x64 installed, I downloaded the version at the top of the thread, the x64 version , changed Windows to use hideous 144dpi, and T-Clock looks fine to me whether Windows XP scaling is checked or unchecked (was prompted to log off each time). Is there something I should look for?

Yes - I get the same untill I reboot.
Um... When I change the DPI setting it only asks to logoff and then back on to enable the change (which I do). But are you saying that after a reboot the behavior changes again? Or are you just rebooting instead of logging off/on to be sure it takes? IIRC my results don't change either way as I had to reboot the VPC a few times during the tests for other reasons - and - I just can not get the thing to fail.


I did try toggling Use XP DPI scaling in the program's shortcut, but it had no effect. Now as to which one can effectivly override the other goes ... I've not a clue.
Strange I don't get that setting - the closes I have is "Disable display scaling on high DPI systems" in the settings section of Compatibility tab, and everything in that section is disabled.
Crap, you're right - I misquoted the dialog.

On a Side Note: everything on the compatability tab here on my office machine is disabled also.

Damn Strange it are...
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 18, 2010, 04:07 PM
Okay, in the interest of clarity I skipped the vitalization and ran the test on my physical hardware. So with 2 17" monitors running 1280 x 1024 resolution I ran the DPI test with Logoff and reboot between each change to see if/how it would (Mis?)behave.

120DPI (125%) it positioned itself just fine after log off/on - Also positioned just fine after reboot.

144DPI (150%) it positioned itself just fine after log off/on - Also positioned just fine after reboot.

192DPI (200%) it positioned itself just fine after log off/on - After reboot it positioned itself below the taskbar.

   I would however like to note that at those (1280x1024 192DPI) settings nothing else on the screen looked right either. Text, Icons, Wallpaper all were blurry, and the Icons were so large that four of them could barely fit in a row. e.g. settings were outside the rational limits of the hardware.
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on June 19, 2010, 05:38 AM
I have Win 7 x64 installed, I downloaded the version at the top of the thread, the x64 version , changed Windows to use hideous 144dpi, and T-Clock looks fine to me whether Windows XP scaling is checked or unchecked (was prompted to log off each time). Is there something I should look for?

Yes - I get the same untill I reboot.
Um... When I change the DPI setting it only asks to logoff and then back on to enable the change (which I do). But are you saying that after a reboot the behavior changes again? Or are you just rebooting instead of logging off/on to be sure it takes? IIRC my results don't change either way as I had to reboot the VPC a few times during the tests for other reasons - and - I just can not get the thing to fail.
If I change the DPI to 150% and log off then it appears in the correct place. When I reboot it appears in the wrong place.
If I change the DPI to 125% then regardless of rebooting it always appears in the correct place.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 20, 2010, 01:34 PM
Well, best I can tell at this point is that my nemesis is apparently the Win7 DWM. I say this because its influence is only felt at DPI settings that are above 150. Anything below that reverts (via default system behavior) to XP's scaling behavior.

Hence the issue becomes a pissing contest between the application and the DWM as to where and how things get scaled/located...especially if the application is not marked as DPI aware in some fashion. Therein lying the tricky part.

Options for marking an application as DPI aware are either using a function call (that isn't recognized by MSVS2005), or using an entry in the manifest (that isn't recognized by MSVS2005). Which brings one (or at least me) to the conclusion that this ain't gonna get solved with MSVS2005 - Which of course I am and have been using.

So...(best I can tell) it's backup the project and upgrade the compiler time. I grabbed a copy of MSVS 2010 pro yesterday, and am currently pondering what if any install options there are e.g. will they play nice together, or do I have to commit to an upgrade.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on June 21, 2010, 05:58 PM
Okay, Did a compile with MSVS2010 or the modified code - which promptly failed the positioning test quite consistently.

So, I did a compile of the original (un "fixed") code - and all of the positioning test passed (for me)

Now, the $10,000 question is: Will it work for Sagji?!?

[ You are not allowed to view attachments ]

Sagji, all of the known universe now holds it's breath awaiting your reply...

 :D
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on June 22, 2010, 04:28 AM
Okay, Did a compile with MSVS2010 or the modified code - which promptly failed the positioning test quite consistently.

So, I did a compile of the original (un "fixed") code - and all of the positioning test passed (for me)

Now, the $10,000 question is: Will it work for Sagji?!?
 (see attachment in previous post (https://www.donationcoder.com/forum/index.php?topic=21944.msg210088#msg210088))
Sagji, all of the known universe now holds it's breath awaiting your reply...

 :D
That wasn't the universe holding its breath, that was the universe sniggering behind its hand.  :D

No change from the previous version.
Title: Re: T-Clock 2010 (beta - download)
Post by: MKappy on July 02, 2010, 01:27 PM
Hello all

Just recently found T-Clock after years of using Dale Nurden's program.   
I'm glad to see this effort going on as I had always hoped there would be enhancements made. 
I use the functionality every day at both home and work.

I'd like to offer some enhancement ideas that may or may not have already been suggested.

1 Allow what is displayed when the mouse hovers over the date/time in the system tray to be user selectable. 
What I personally would select for example is to display the current months calendar. 
This allows you to quickly see the month without using up one of your mouse click options

2  Add right click capability to match the left click.
   Note: Middle button on Win 7 Pro brings up "document flip"  so we really only have 2 copies not 4 available.

My motivation for this is to give us at least one if not two additional copy strings.

Example use case:
--- Left Single Click - copy the current date time as a Prefix - e.g. yyyy-mm-dd_
--- Left Double Click - copy the current date time as a Suffix - e.g. _yyyy-mm-dd_hh"hrs"_mm"mins"
--- Right Single Click - copy in a user defined string - e.g.  an email address,   [email protected]
--- Right Double Click - copy in a user defined string - e.g.  an email address,   [email protected]

3 Auto Rename file for file drag and drop?

This might be possible now but it's beyond my knowledge of how one would set this up.

The idea here would be to rename a dropped file to have a predefined user date/time string appended as a prefix or suffix before the file extension.
This might be the same as the single click option for example or perhaps yet another string specifically for this purpose.
For example:
   Original file name:   Draft_ideas.doc
   Suffix Drag drop results in:   Draft_ideas_2010-07-02_02hrs_07mins.doc
   Prefix Drag drop results in:   2010-07-02_Draft_ideas.doc

4  Drag and drop the clock ?

I've got no idea if this is even remotely possible....
   What if you click down on the date/time in the system tray and drag and drop it?
   Could this be made to paste a string?

I hope to one day get modern coding skills back up to date and join you all as contributing developers.

   Thanks again for your efforts

   Mark


Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on July 05, 2010, 09:23 AM
Being that I had a vacation I decided to actually be on vacation (from everything) and left the computer alone for a while.


Hello all

Just recently found T-Clock after years of using Dale Nurden's program.   
I'm glad to see this effort going on as I had always hoped there would be enhancements made. 
I use the functionality every day at both home and work.

I'm glad to hear you've found it to be useful.

I'd like to offer some enhancement ideas that may or may not have already been suggested.

1 Allow what is displayed when the mouse hovers over the date/time in the system tray to be user selectable. 
What I personally would select for example is to display the current months calendar. 
This allows you to quickly see the month without using up one of your mouse click options

So popup calendar on mouse-over - The system global mouse-over timeout may cause performance issues (annoying response lagg) with/for that - But I'll look into it as it does sound rather handy.

2  Add right click capability to match the left click.
   Note: Middle button on Win 7 Pro brings up "document flip"  so we really only have 2 copies not 4 available.

My motivation for this is to give us at least one if not two additional copy strings.

Example use case:
--- Left Single Click - copy the current date time as a Prefix - e.g. yyyy-mm-dd_
--- Left Double Click - copy the current date time as a Suffix - e.g. _yyyy-mm-dd_hh"hrs"_mm"mins"
--- Right Single Click - copy in a user defined string - e.g.  an email address,   [email protected]
--- Right Double Click - copy in a user defined string - e.g.  an email address,   [email protected]

I'm not sure if the context menu popup will share well with the single right click event, but yes I am  pondering alternatives for the now basically useless middle button/wheel click events.

3 Auto Rename file for file drag and drop?

This might be possible now but it's beyond my knowledge of how one would set this up.

The idea here would be to rename a dropped file to have a predefined user date/time string appended as a prefix or suffix before the file extension.
This might be the same as the single click option for example or perhaps yet another string specifically for this purpose.
For example:
   Original file name:   Draft_ideas.doc
   Suffix Drag drop results in:   Draft_ideas_2010-07-02_02hrs_07mins.doc
   Prefix Drag drop results in:   2010-07-02_Draft_ideas.doc

That certainly sounds worth looking into.

4  Drag and drop the clock ?

I've got no idea if this is even remotely possible....
   What if you click down on the date/time in the system tray and drag and drop it?
   Could this be made to paste a string?

I hope to one day get modern coding skills back up to date and join you all as contributing developers.

   Thanks again for your efforts

   Mark
I'm not sure we really need that many roads-to-Rome ... But, I may explore that later.
Title: Re: T-Clock 2010 (beta - download)
Post by: kronckew on July 14, 2010, 01:44 PM
just a quick suggestion, came here to see if there were any updates since i installed tc 2010 for x64 in june. i note that in the 'about' tab in the properties it does not mention a version no., the current download in post 1 has an exe file date 3 days later than mine, but the internal version  number compiled into it is the same, and appears to bear no connection to the history. could you pls. add a date next to the versions in the history so we know when you compiled or released it, and/or put the version no. corresponding to the history lsit in the 'about'.  thanx for listening. great program anyway, working fine in win7 x64 ultimate so far.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on July 16, 2010, 10:26 PM
@kronckew - Build # added to about screen.

Okay, as luck would have it, my brother who just moved down here and is staying with us for a while has a 42" TV with a PC input. This gave me a much better test platform for the High DPI bugg. So...

Monitor: 42" Toshiba 1080p HD TV
OS: Windows 7 Professional
Resolution: 1920x1080
DPI: 150

Dialog Position: Where it Belongs... (Finally!)

In case anyone is wondering, the origional code was actually correct, I just needed to add the DPI aware option to the manifest file - which required VS2010. *Sigh* ...I really liked VS2005 better.


Only (other) down side at this point is I'm not sure if/how well it will run on Windows 2000 after being compiled with MSVS2010.

On a brighter note, I can finally get on with some of the other ideas/suggestions that have been mentioned/discussed/requested above.
Title: Re: T-Clock 2010 (beta - download)
Post by: cranioscopical on July 17, 2010, 05:03 PM
Well done!  :Thmbsup: :Thmbsup:
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on July 19, 2010, 01:27 PM
@kronckew - Build # added to about screen.

Okay, as luck would have it, my brother who just moved down here and is staying with us for a while has a 42" TV with a PC input. This gave me a much better test platform for the High DPI bugg. So...

Monitor: 42" Toshiba 1080p HD TV
OS: Windows 7 Professional
Resolution: 1920x1080
DPI: 150

Dialog Position: Where it Belongs... (Finally!)

In case anyone is wondering, the origional code was actually correct, I just needed to add the DPI aware option to the manifest file - which required VS2010. *Sigh* ...I really liked VS2005 better.


Only (other) down side at this point is I'm not sure if/how well it will run on Windows 2000 after being compiled with MSVS2010.

On a brighter note, I can finally get on with some of the other ideas/suggestions that have been mentioned/discussed/requested above.

Murphy was so impressed by your fix he slipped a x86 version into the x64 folders so it doesn't work on my system.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on July 19, 2010, 06:45 PM
Murphy was so impressed by your fix he slipped a x86 version into the x64 folders so it doesn't work on my system.

 :wallbash: 40 downloads in 24 hours and its just got to be the one release I package wrong.

[Expletive Replete] Murphy.  :D
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on July 20, 2010, 04:41 PM
Well this one runs.
But it isn't any different - except there is extra text on the about page - but it wraps after the second - and 3/4 of the second line gets clipped off.

It is still appearing off screen, and still shows scaled coordinates to window spy. If I move it so the right edge is adjacent to the taskbar then with the mouse at the right edge of T-Clock's window the x screen position  is about 1400 but when i move it right is suddenly jumps to over 2000.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on July 22, 2010, 06:50 AM
Well this one runs.
But it isn't any different - except there is extra text on the about page - but it wraps after the second - and 3/4 of the second line gets clipped off.

Yeah, oops ... The test machine (looked fine, but) was at some weird res/DPI setting so I gotta redo that part - It was a bit of an (after thought) rush job.

It is still appearing off screen, and still shows scaled coordinates to window spy. If I move it so the right edge is adjacent to the taskbar then with the mouse at the right edge of T-Clock's window the x screen position  is about 1400 but when i move it right is suddenly jumps to over 2000.

Man, I've tried everything I can think of trying to duplicate this to aviod picking on your hardware. But, I think we may need to explore that possibility. I had hoped that someone else with that type of setup would chime in to confirm or disprove the behavior ... but it seems it just the two of us stuck head-2-head. I'm debating on adding a (work arround) option to save last dialog position as a last resort.

Everything I try makes it worse, and the more I research this everything points at the origional code as being correct.

*Shrug* I'm stumped... :(
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on July 25, 2010, 04:26 PM
It is still appearing off screen, and still shows scaled coordinates to window spy. If I move it so the right edge is adjacent to the taskbar then with the mouse at the right edge of T-Clock's window the x screen position  is about 1400 but when i move it right is suddenly jumps to over 2000.

Man, I've tried everything I can think of trying to duplicate this to aviod picking on your hardware. But, I think we may need to explore that possibility. I had hoped that someone else with that type of setup would chime in to confirm or disprove the behavior ... but it seems it just the two of us stuck head-2-head. I'm debating on adding a (work arround) option to save last dialog position as a last resort.

Everything I try makes it worse, and the more I research this everything points at the origional code as being correct.

*Shrug* I'm stumped... :(
I think I have found what's wrong with the x64 version.
The two versions (x64, and x86) have different manifests. The x86 has both the sections that are in the x64 clock.exe but in the opposite order, and also has a third section that includes the dpiAwareness setting. So it looks like the x64 version isn't set as DPI aware.
Title: Re: T-Clock 2010 (beta - download)
Post by: sagji on July 25, 2010, 05:30 PM
As an experiment I added the DPI aware to the x64 version's manifest.
It now appears in the right place <added> and the calender appears on screen </added>.
But it isn't scaling correctly internally.

I have attached before and after images for the about, mouse, and quicky tabs - the others appear normal.
In the mouse tab the list of actions starts too soon so overlaps the controls for setting the actions.
In the quicky tab the list doesn't fill the remainder of the page.
The font in the tabs is smaller - so more fit on one line.
The label with the build information fits better but still wraps onto a second line and gets clipped.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on July 26, 2010, 06:59 AM
 :wallbash: Well that'll teach me not to test a 64bit issue on a 32bit box...  :-[

The internal scaling issue I've seen before, I hadn't addressed it yet because you'd never mentioned it -  which has been bugging me (I eluded to it a few pages back) - and I/we/one of us had to get the positioning issue nailed down first. Thanks for finding it.

All of the ListView controls are added/created at runtime so I'll just need to add a routine to size & position them based on current conditions after creation.

Thank you for your patience and assistance in resolving this.
Title: Re: T-Clock 2010 (beta - download)
Post by: MKappy on August 16, 2010, 09:41 AM
Hi

Regarding the suggestions I made in

Re: T-Clock 2010 (beta - download)
ยซ Reply #171 on: July 05, 2010, 08:23:43 AM ยป

I have an alternate idea to the  Auto rename feature.  I originally suggested:

----------
3 Auto Rename file for file drag and drop?

This might be possible now but it's beyond my knowledge of how one would set this up.

The idea here would be to rename a dropped file to have a predefined user date/time string appended as a prefix or suffix before the file extension.
This might be the same as the single click option for example or perhaps yet another string specifically for this purpose.
For example:
   Original file name:   Draft_ideas.doc
   Suffix Drag drop results in:   Draft_ideas_2010-07-02_02hrs_07mins.doc
   Prefix Drag drop results in:   2010-07-02_Draft_ideas.doc
----------

Rather than try and deal with drag and drop to do the rename, which I don't know if it is even possible, instead, add the capability to do the remname as a right click menu item when you selct the file.  For example, right click on a file in the windows explorer and the option to tclock-rename with prefix   and tclock-rename with suffix   is offered.

   Mark



Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on August 21, 2010, 10:35 AM
Drag and drop functionality is already built into T-Clock so I'm willing to explore the file rename option there. Adding something to the context menu would force me to have a method of removing it (read uninstall procedure) other than just deleting the clock's folder. So I'll leave that to one of the myriad of other apps out there more oriented toward file management.

@sagji - I know I still owe you a clean (no borked manifest) build, but I've been wrestling with how best to do what with which compiler (VS2005 vs. VS2010). I just don't like VS2010 ... So I've got to run a few test on some of the other (office/work) projects to see if I can decide if the switch is worth it.

Speaking of work/office projects, I've gotten tied up in a large in-house deployment that has had (and will continue to have) me tied up to the point that I'm to fried when I get home to work on T-Clock. Hopefully it will calm down a bit in a month or so and allow me to take another run at the project. I'm just spread a bit to thin these days so I had to drop something before I either screw it up or burn myself out (Which is getting annoyingly easy at my age).
Title: Re: T-Clock 2010 (beta - download)
Post by: MKappy on August 21, 2010, 11:45 PM
Hi

I just noticed in the Beta 8 version that I just installed that there is a text wrapping issue in the About T-Clock box.  I've attached a screen shot.

The line in Bold that reads
   T-Clock 2010 x64 - Taskbar Clock -        

appears to have wrapped text to the next line but it is mostly obscured by the line that reads
   Stoic Joker 2006 - 2010

Perhaps this is the version number?

   Mark
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on August 22, 2010, 07:53 AM
Yes, it's one of the items I still need to tweak a bit. It was added during the high DPI tests and I never checked it at the normal (default) settings - which apparently I should have. It will be fixed before the next build is released.
Title: Re: T-Clock 2010 (beta - download)
Post by: xcopy on August 25, 2010, 11:40 AM
Hi Stoic Joker,

thanks for pointing me to this thread via email.
I just installed TClock 2010 on my Win7x64 and it works perfectly (even the secret hidden it-which-must-not-be-named feature).

Just one thing, compared to your TClock x64 1.01 which I used up to today:
when I use the same font settings for the Clock text the new text is way to bold even when bold is not selected (when it is, it goes ultra-creamy-bold).

This is what v1.0.1 displays with Verdana, 9pt, not bold:
(http://img201.imageshack.us/img201/2445/v101.png)

And this is the same setting with v2010:
(http://img843.imageshack.us/img843/9492/v2010.png)
Actually it looks like ClearType was enabled but it's not.
Is there a way to make the text brilliant sharp like it used to be (please :))?

Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on August 25, 2010, 06:32 PM
Hi Stoic Joker,

thanks for pointing me to this thread via email.
I just installed TClock 2010 on my Win7x64 and it works perfectly (even the secret hidden it-which-must-not-be-named feature).
LOL ;) ...Good man.

Just one thing, compared to your TClock x64 1.01 which I used up to today:
when I use the same font settings for the Clock text the new text is way to bold even when bold is not selected (when it is, it goes ultra-creamy-bold).

This is what v1.0.1 displays with Verdana, 9pt, not bold:
(http://img201.imageshack.us/img201/2445/v101.png)

And this is the same setting with v2010:
(http://img843.imageshack.us/img843/9492/v2010.png)
Actually it looks like ClearType was enabled but it's not.
Is there a way to make the text brilliant sharp like it used to be (please :))?

Well... Here's where I'm at (surprised nobody caught this before). I made a change in the way T-Clock creates its-own font at runtime that effectively creates a ClearType font (I was/am debating on making this a configurable option). The native Taskbar transparency is whats queering the deal here, because if you have a dark background the fonts look fine. White or pale backgrounds make the font appear to fuzz.

As an example of this behavior:
[ You are not allowed to view attachments ]

Notice it's crystal clear over the command prompt, but it gets fuzzy over the white?

I'm guessing from your screen-shots that you have a light-ish colored wallpaper, Yes?

If you can replicate the test, and confirm this behavior, I'll add including a toggle to the To-Do list so T-Clock's use of ClearType can be disabled internally. *Shrug* ...It seemed like the thing to do at the time - I was shooting for crisper fonts on a dark background - But I have been wrong before... :)




P.S. (Almost forgot) From your screen-shots, it looks like you need to increase the clock height setting a bit (+2 should do) so it stops cutting off the bottom of the g's
Title: Re: T-Clock 2010 (beta - download)
Post by: xcopy on August 25, 2010, 11:46 PM
Confirmed, it's getting better on dark backgrounds:
(http://img265.imageshack.us/img265/5058/v2001dark.png)

But still not as nice as in 1.01:
(http://img265.imageshack.us/img265/951/v101dark.png)

So a "Disable ClearType toggle" sounds good  :up:


P.S. WhooHoo, congrats:
(http://img832.imageshack.us/img832/810/1000x.png)
Title: Re: T-Clock 2010 (beta - download)
Post by: mouser on August 28, 2010, 01:25 PM
Here's a commandline tool to sync clock with internet time, linked from http://shellcity.net -- maybe you could just add a menu item to invoke it.

Cmdtime 3 is easy-to-use command-line utility which adjusts computer's date and time via Internet Time Servers. It's recommended to use it either standalone, or in batch-files, or with external shedulers.

http://www.softshape.com/download/
Title: Re: T-Clock 2010 (beta - download)
Post by: xcopy on August 28, 2010, 02:06 PM
Cmdtime 3
Works great, thank you for the hint!
Title: Re: T-Clock 2010 (beta - download)
Post by: xcopy on August 28, 2010, 05:34 PM
In TClock 2010 beta I just tried to assign the mouse click options to various actions.
What I wanted to have is Left-click > Calendar (this one works) and Middle-click > TClock Properties.

This last one doesn't work. Known issue?
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on August 30, 2010, 06:48 AM
In TClock 2010 beta I just tried to assign the mouse click options to various actions.
What I wanted to have is Left-click > Calendar (this one works) and Middle-click > TClock Properties.

This last one doesn't work. Known issue?

Yes, MS used the middle button/mouse wheel click for an enhanced Alt - Tab menu on Win7 so it's no longer a viable option to try asigning something (esle) to it. Podnering that it on my To-Do list.

@mouser - Thanks for the tip, I'll look into it.
Title: Re: T-Clock 2010 (beta - download)
Post by: xcopy on December 11, 2010, 09:51 AM
In previous versions the T-clock Timers had an option to display the remaining time of a timer next to the clock.
The latest (beta8) x64 version has the timer watch window but a window has to be opened a first and this information isn't always visible.

Would it be possible to display the remaining time so that it's always visible? Like beneath the clock or as a transparent layer somewhere on the screen?
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on December 12, 2010, 09:27 AM
I honestly don't recall ever seeing that option...but I like it. It's possible it appeared in a different code branch than the one I'm on...(I don't know)...I'd hate to think after all this time I managed to miss something like that ... But stranger things have happened.

The functionality certainly was not intentionally removed. If you can let me know which build/version/authors work you saw this in I'll see what I can do about getting it in (or back in) to T-Clock's feature set.

Development has been stalled for a bit as office projects have had me pinned down but I hope to get it back on-track soon.
Title: Re: T-Clock 2010 (beta - download)
Post by: xcopy on December 13, 2010, 06:06 AM
Thanks, this is in TClock Light from Kazuto Sato, Filedate 01 July 2004, running on my old XP system.
Title: Re: T-Clock 2010 (beta - download)
Post by: kyrathaba on December 13, 2010, 09:35 PM
Been following your progress on this thread, Stoic.  I have to say it:  I'm awed by you C++ gurus.  I'm just now finally starting to understand events and delegates in C#.  Tried delving into C++ a couple years ago, but was quickly overwhelmed and ran whimpering  back into my C# Cave ;)
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on December 18, 2010, 07:24 PM
   Okay, so after a bit of a sabbatical I finally worked up the nerve today to do the compiler downgrade swap to MSVS2008. 2010 just flat irked me, and it killed support for Windows 2000 ... Which IMO is a deal breaker.

   The newly posted beta 8.5 (build 85) is identical to the previous build except for the return of Win2k support, fixing the About Tab's text wrapping issue, and the build number. Which granted is a bit dumb, but the Win2k support thing was really bugging me.

   It appears I have 2 weeks to finish this thing before I have to change the name ... Feel free to place bets on the outcome.

@kyrathaba - Thank you, but to be honest, I'm far from a guru. There's a lot of guess work, a lot of Google, and a lot of thinks that go very badly. Tenacity and a sense of humor are my two primary "tools". ;)
Title: Re: T-Clock 2010 (beta - download)
Post by: f0dder on December 19, 2010, 01:50 PM
@Stoic Joker: You can make 2010 produce executables that work with Win2000, but it requires a bit of mucking around.

I personally prefer VS2010 to 2008, as long as the machine has a non-sucky GPU.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on December 19, 2010, 10:17 PM
I never really got the hang of reversing, so you're way ahead of me there. I do recall you mentioning that once before, but the how I'm unclear on. Can you be a bit more specific on the mucking around part?
Title: Re: T-Clock 2010 (beta - download)
Post by: Jibz on December 20, 2010, 01:30 AM
Not sure, but maybe installing the previous SDK and setting VS 2010 to compile using that might do the trick.
Title: Re: T-Clock 2010 (beta - download)
Post by: Stoic Joker on December 20, 2010, 09:28 AM
Not sure, but maybe installing the previous SDK and setting VS 2010 to compile using that might do the trick.
I'm still trying to give VS2k8 a fair shake as it still has one of the features (split clipboard) I've come to depend on. I can have one thing on the clipboard and still do a drag copy/move with another thing without dropping the clipboard contents...This incredibly handy feature (because I tend to loose track of where I'm at while working on-the-fly at times) was oddly missing in VS2010.

One the minus side, VS2008 can't seem to handle an external file edit for shit. Every time I change something (usually resource.h) and then let VS2k8 catchup it crashes. Which tends to have a rather adverse effect on the undo/redo history.

Now if VS2005 would work with the 2010 SDK so the manifest files would behave...that might be a solution worth looking into. I'd just have to find some info on how to do it properly so I don't turn my dev box (or VS for that matter) into a smoking crater... :)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 23, 2010, 03:00 PM
Greetings
    As is also noted in the version history. It occured to me that 12/23/2010 is the end of 2010 ... So I either need to release this thing or change the name. So... the now currently posted build 90 is not (supposed-to-be...) a beta. So while 90 is to be the final build of 2010 ... the Suggestion Box is still open. ;)

   The most important part of build 90 is the the Fuzzy Font bugg has been killed by adding a Font Quality option to the Clock Text Tab. This allows newer OS's to use the newer ClearType font rendering options, and eliminates the need for me to try and pick a (hard-coded) best rendering option for all OS's across-the-board ... Mainly because there isn't one. So, pictures being better than words...:

[ You are not allowed to view attachments ]

[ You are not allowed to view attachments ]



   The most fun addition (at least for me) was the request for a more visual alarm event in the form of a bouncing window. This conjured up an image of a Jack Russel Terrier (small highly energetic dog) boncing wildly in an almost cartoonish fashion...Which is an image I could not get out of my head.

    So, I added it.

[ You are not allowed to view attachments ]

   There is a good bit of granularity in the bouncing behavior but the chosen defaults seem to me to work the best. The ricocheting (Dialoggie) window does pull focus so simply hitting enter will stop it ... But then you can't read it. This is why the default behavior has the window bouncing for 3 seconds, and then stopping (center screen) for 3 seconds to give the user time to read and respond to it. Both Bounce and Pause (Paws...) periods are adjustable as are the speed, movement (delta), direction (skew),  and nature (Randomize Bounce Height) of the Alarm window's antics.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 28, 2010, 12:42 PM
In keeping with the "I'm running out of time" theme, I slapped together a quickie (rush job) website for the (semi) final release of T-Clock 2010 with screen shots and general info.
Title: Re: T-Clock 2010 (download)
Post by: xcopy on December 28, 2010, 01:10 PM
Thank you so much for the font-option. Works great!

Btw.: no need to restrict the Alarm labelling  on sound files, this also works great with all other applications:
   (http://s5.directupload.net/images/101228/bmdxh7gv.png) (http://www.directupload.net)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 28, 2010, 01:31 PM

Btw.: no need to restrict the Alarm labelling  on sound files, this also works great with all other applications:
   (http://s5.directupload.net/images/101228/bmdxh7gv.png) (http://www.directupload.net)
:huh: lol ...I never thought of trying that. But will make a note to explore it as an option in the future.

While time did not allow for the inclusion of the display timers feature you requested in the current build. I'm still looking into it as an option ... This is why Kazuto Soto's TClock Lite has now been included in the T-Clock history page. I'm trying to make sure all of the relevant previous authors (TClock did branch a few times) get proper credit.
Title: Re: T-Clock 2010 (download)
Post by: mouser on December 28, 2010, 04:35 PM
if you want to add super simple optional update checking, im happy to help show you how to use dcuhelper (https://www.donationcoder.com/forum/index.php?topic=9607.0).
Title: Re: T-Clock 2010 (download)
Post by: mouser on December 28, 2010, 04:48 PM
ps thank you for the hourly charm feature -- i was just about to request it and figured i should make sure it wasn't already implemented.  :Thmbsup:

for those that are interested, i found a nice non-distracting chime from freesound.org which i am using: http://www.freesound.org/samplesViewSingle.php?id=106983
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 29, 2010, 12:47 PM
if you want to add super simple optional update checking, im happy to help show you how to use dcuhelper (https://www.donationcoder.com/forum/index.php?topic=9607.0).
I'm thinking I should probably have an installer before I go that route. But I'll keep it in mind as is is something I'd been toying with doing.
Title: Re: T-Clock 2010 (download)
Post by: erikts on December 29, 2010, 08:22 PM
I use T-Clock 2010 but I don't have external speaker.  :(
My wish: Allow user to use PC Speaker's beep for hourly chime.  :)
Title: Re: T-Clock 2010 (download)
Post by: mouser on December 29, 2010, 09:04 PM
my wish: get erikts some external speakers  :P
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 30, 2010, 09:41 AM
I use T-Clock 2010 but I don't have external speaker.  :(
My wish: Allow user to use PC Speaker's beep for hourly chime.  :)

I can't guarantee a time-line, but I will look into it as an option.
Title: Re: T-Clock 2010 (download)
Post by: mouser on December 30, 2010, 09:44 AM
if you do want to allow use of pc system beep instead of a wav sound file, a universal solution that would require no change in the UI would be too allow person to specify: "BEEP" as the sound file name, and when you see that beep the speaker instead of trying to play a sound file.  If you want to get fancy, allow different numbers of beeps, like: "BEEP3", which could be useful for alarms, etc.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 30, 2010, 05:03 PM
hehe - Been thinkin' about this a bit huh? - I was pondering something much the same but using a custom file extension and file header check (both already exist). Then playable tone files could be created to play through the PC speaker.

The chances of this going (way) out of scope quickly are high ... But I'm thinking.
Title: Re: T-Clock 2010 (download)
Post by: freaky44 on January 06, 2011, 12:14 PM
Hi,

the new T-Clock version is really cool! :)

But i have two feature suggestions:

- I use the drop to recycle bin feature, and it works great! It would be great to have the option to see the size and number of files of the recycle bin in the Mouse-over Tooltip Text. (e.g. "10 Files, 135 MB").

- I would love to have the option to set the action in mouse-properties to "open files/folders (with command-line switches)". Just like you can do it in the "Menu Item Details". Then i could empty/open the recycle bin with just one click.

Little Bug report:
Middle Mouse Button Actions doesnยดt work.


Thanx in advance!  :Thmbsup:



Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on January 06, 2011, 05:35 PM
the new T-Clock version is really cool! :)

Thank you.


But i have two feature suggestions:

- I use the drop to recycle bin feature, and it works great! It would be great to have the option to see the size and number of files of the recycle bin in the Mouse-over Tooltip Text. (e.g. "10 Files, 135 MB").

Hm... There is grand potential for this to lag badly if there are a large number of files in the recycling bin. But I can try playing with it for a bit and see what happens.


- I would love to have the option to set the action in mouse-properties to "open files/folders (with command-line switches)". Just like you can do it in the "Menu Item Details". Then i could empty/open the recycle bin with just one click.

Sounds reasonable enough, I'll look into it.


Little Bug report:
Middle Mouse Button Actions doesnยดt work.

That's actually a "Known Issue" ... That I forgot about... I'll have to go through my notes and see what the original issue was/is. I'm thinking that the middle button/mouse wheel was asigned to bring up a task list in Windows 7 by default so I'd given up on/disabled it at one point. But it isn't doing it now (it could have been just me...) so I've not a clue. *Shrug* I'll look into it ... Thanks for the reminder.
Title: Re: T-Clock 2010 (download)
Post by: freaky44 on January 06, 2011, 06:01 PM
But i have two feature suggestions:

- I use the drop to recycle bin feature, and it works great! It would be great to have the option to see the size and number of files of the recycle bin in the Mouse-over Tooltip Text. (e.g. "10 Files, 135 MB").

Hm... There is grand potential for this to lag badly if there are a large number of files in the recycling bin. But I can try playing with it for a bit and see what happens.

A solution for the lagging problem could be, when the recycle bin is checked on a regularly base (e.g. every 10 seconds) and these information are written to a file. Then the informations have only to be read from this file on mouseover. Itยดs just an idea. Iยดm not a programmer.


- I would love to have the option to set the action in mouse-properties to "open files/folders (with command-line switches)". Just like you can do it in the "Menu Item Details". Then i could empty/open the recycle bin with just one click.

Sounds reasonable enough, I'll look into it.

Great!   :Thmbsup:


Little Bug report:
Middle Mouse Button Actions doesnยดt work.

That's actually a "Known Issue" ... That I forgot about... I'll have to go through my notes and see what the original issue was/is. I'm thinking that the middle button/mouse wheel was asigned to bring up a task list in Windows 7 by default so I'd given up on/disabled it at one point. But it isn't doing it now (it could have been just me...) so I've not a clue. *Shrug* I'll look into it ... Thanks for the reminder.

In "T-Clock x64 v1.01" the middle button worked under Win 7.
Title: Re: T-Clock 2010 (download)
Post by: DesElms on January 30, 2011, 05:35 PM
TO:  Stoic Joker

I'm the guy who did this...

http://www.greggdeselms.com/tclock.html

...and you and I have had brief (and pleasant) email chat about it in the past... though I'm having trouble remembering how it ended.  I think we both just got busy and never completed it... but, again, I can't remember.

You've mentioned/complained in this thread, and back in our email chat, that your hosting is unreliable.  And it's true that I, for one, can't get at your site half the time, for whatever reason.

Interestingly, today, I tried to get at it and it failed; but succeeded when I used a proxy.  That's a new one.  Any light you can shed on that would be helpful.  It was only from deft Googling that I stumbled onto this thread today.

The reason I'm posting is to ask if you need more reliable hosting; and to make my official offer (and I think I offered it in our previous email chat, too) to let you have some hosting for free.  I mean, your gift of T-Clock to the world is really nice, and so the least I can do is offer you a free hosting account on one of my servers...

...which are located in the big Peak10 data center in Jacksonville...

http://www.peak10.com/jacksonville/default.asp

...and so, believe me, it would be reliable.

It would be a standard cPanel type account... nothing fancy.... but fully functional in every possible way.

My only proviso would be that it would remain free for only as long as it doesn't use-up so much bandwidth that said bandwidth starts showing-up as its own line item on my monthly data center bill.  At that point, we'd have to discuss your defraying the cost somehow...

...though, frankly, since it would be at my wholesale price (I'd only charge you that... with no profit to me), you'd get, for $5 or $10 or $15 per month (whatever it came out to) that which any other hosting provider would charge three to five times as much.  Or, if the bandwidth was mostly just from all the downloading, it would be easy to find an alternative method of providing downloading bandwidth... from such as cNet or SnapFiles or MediaFire or whatever.  But we can cross that bridge if and when we come to it.

I'm not, to be candid, really in the hosting business as my means of income.  I only have professional servers in a rack in a big, high-end data center, with cPanel -- and am as serious about it as if I were in the hosting business -- because back in the late 1990's I wanted a way to help-out my management consulting clients who needed web sites and hosting, and I got tired of referring away the business.

I've had servers (with cPanel) going in that data center (er... well... in a data center in New Jersey, at first, but then in Jacksonville) for pushing 12 years, now.  And now, ever since my ministry (of agency and advocacy to the homeless, disabled vets, the elderly, the prostituted, recent parolees, and others similarly in need)...

http://tinyurl.com/deselms-card

...has gone pretty much full-time, I kinda' just give away the hosting (and domain names... see the next paragraph) at my wholesale cost, no profit to me, to worthy not-for-profit organizations and others who are for whatever reason deserving.  And I figure that your gift to the world of T-Clock makes you deserving.

I'm also a domain name reseller for one of world's largest ICANN-approved registrars... I'm seriously like... literally... their reseller number 6 or something like that... signed-up right after they first launched their reseller program back in... geez... maybe 1999, or 2000, or something like that.  So I'm kinda' grandfathered-in to the absolutely lowest prices it offers...

...which I'd happily pass along to you, if you wanted to move your domain name over to an account, directly on the registrar's web site, but "beneath" my reseller umbrella (so that I may set your pricing down to my wholesale price, rounded-up to the nearest $.99, plus the registrar's mandatory roughly $1.30 in credit card processing and whatever other fees), which will allow me to charge you only around ten bucks a year for your domain name, if you want... again, no profit to me.

And I can pretty much guarantee that your site's IP address will not be on some kind of blacklist... which is what I'm now wondering might be the reason why I can almost never get to your site normally, yet I was able to get to it via a proxy (something I only tried for the first time) today (I'd have to look it up).  I'm a friend of the anti-spam community...

http://www.spamlinks.net (see the reference to me at the absolute bottom of the page)

...so I can pretty much guarantee that none of my IP addresses are in any blacklists; and/or that if any of them end-up in one, I know how to get it out.

I'm not sure I ever explained it all to you in past emails as I just have, here, so maybe that's why you didn't take me up on it.  Then again, maybe I hadn't gotten to the point in our emails that I had even offered it yet... I just can't remember.

But I'm tired of people writing to me, in their emails thanking me for hosting an alternative place from which to download T-Clock, that they just couldn't make your site work.  So, I'm offering, now, to help you with that, if you're interested.  According to my server logs, I've already been hosting tons of T-Clock downloads on the unofficial page linked-to at the beginning of this posting; so I'm sure it wouldn't be that much more bandwidth to just let you have a full-blown hosting account -- at least for T-Clock, and maybe even for everything you do -- in a shared hosting account on that same server.

Let me know.

Keep up the good work, in any case!

Peace.


_______________________________
Gregg L. DesElms
Napa, California USA
gregg at greggdeselms dot com






Title: Re: T-Clock 2010 (download)
Post by: superboyac on January 30, 2011, 05:46 PM
T-Clock is awesome!  Thanks Stoic!  I may...er...have a list of very particular feature requests soon!  I used to use betaclock, but it's not being developed anymore and there were a few minor issues I had with it.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on January 30, 2011, 08:36 PM
T-Clock is awesome!  Thanks Stoic!  I may...er...have a list of very particular feature requests soon!  I used to use betaclock, but it's not being developed anymore and there were a few minor issues I had with it.

Thank you, ...But we have to finish your other project, before I can get back on this one ;)

Currently T-Clock (development) is scattered across 3 different projects as I try to get various things (requested features etc.) figured out.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on January 30, 2011, 10:05 PM
TO:  Stoic Joker

I'm the guy who did this...

http://www.greggdeselms.com/tclock.html

Yes, I do remember you. I sent you an Email about a year ago shortly after I'd gotten the T-Clock project back on the rails.

...and you and I have had brief (and pleasant) email chat about it in the past... though I'm having trouble remembering how it ended.  I think we both just got busy and never completed it... but, again, I can't remember.

That does sound about right, as work keeps me pinned down about 90-104% of the time.  :D

You've mentioned/complained in this thread, and back in our email chat, that your hosting is unreliable.  And it's true that I, for one, can't get at your site half the time, for whatever reason.

Back then I was having issues with a DDNS service which I shortly thereafter decided to quit using. I still am self hosting on a residential connection which has been known to go down about once every 6 months. But this is a necessary evil, as it is part of a lab I have here at home for testing purposes. This is also why my site points to here as the download location so it can be reliably linked to/found.

Interestingly, today, I tried to get at it and it failed; but succeeded when I used a proxy.  That's a new one.  Any light you can shed on that would be helpful.  It was only from deft Googling that I stumbled onto this thread today.

Now that is incredibly odd...Which error did you get, DNS or page request failure? I frequently check the page hit counters haven't noticed (uptime stats, server logs, page access, etc.) an outage in quite some time. With the exception of Windows update reboots, but that only takes a minute or two (last one was almost a month ago). If it is a DNS issue, then it may be my registrar (which handles DNS) that is dropping the ball.

I suppose it is possible my ISP (which has changed hands/names more times than I can count) is having TOS issues. But I think that would be a bit more (Total Black-out) permanent... I also frequently check for any blacklisting issues as a side effect of running a mail server.

It would be interesting to see if my IP was ping-able when the site was not (DNS vs. routing/server issue). Also would help if anyone else could comment regarding their level of success accessing my site. Maybe I could get a better handle on what is happening.

The reason I'm posting is to ask if you need more reliable hosting; and to make my official offer (and I think I offered it in our previous email chat, too) to let you have some hosting for free.  I mean, your gift of T-Clock to the world is really nice, and so the least I can do is offer you a free hosting account on one of my servers...

...which are located in the big Peak10 data center in Jacksonville...

I'm not sure I ever explained it all to you in past emails as I just have, here, so maybe that's why you didn't take me up on it.  Then again, maybe I hadn't gotten to the point in our emails that I had even offered it yet... I just can't remember.

I do recall you mentioning something to that effect (at length), but I think I just pondered it a bit too long and forgot.

But I'm tired of people writing to me, in their emails thanking me for hosting an alternative place from which to download T-Clock, that they just couldn't make your site work.  So, I'm offering, now, to help you with that, if you're interested.

Currently T-Clock is still in an active development stage so I'd like to keep things running through here so people can see (the history of...) what's happening. If you've read through much of the thread I'm sure you can see I've got a hell of a to-do list. :)

The latest builds of T-Clock that I release here are perfectly safe for public consumption, and are considerable more stable than the previously released v1.01. After Vista x64 SP1 (and up through Win7) v1.01 started crashing the shell when certain property tabs were viewed.

According to my server logs, I've already been hosting tons of T-Clock downloads on the unofficial page linked-to at the beginning of this posting; so I'm sure it wouldn't be that much more bandwidth to just let you have a full-blown hosting account.

I truly do appreciate the offer, and may take you up on it at some time in the future. But I really need to ascertain exactly what issue (if any) I'd be resolving by making a change before I do (i.e. If my registrar's DNS is borked changing the target won't help). In the mean time feel free to send folks here so they can download the latest available version and yell at me in person... ;)

Thank you,
Stoic Joker
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on March 06, 2011, 01:41 PM
Hi, just installed it in Windows 7 and it looks really excellent.

If you are open to suggestions,

a. option for a comma after the date would be good

b. option for an "A" and "P" in addition to "AM", "PM" for 12-hour mode would also be good  (make width narrower)

c. if time < 10 (1 to 9) in 12-hour mode, do not show the leading zero; do show it in 24 mode, as in 0455; colon not needed in 24 mode--also shortens the width.

Not critical; just ideas (nice ones if I do say so myself..... :) )

Do you have a donation link somewhere?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 06, 2011, 02:31 PM
Hi, just installed it in Windows 7 and it looks really excellent.

If you are open to suggestions,
Glad you're enjoying it, and most of T-Clocks coolest features started as suggestions.

a. option for a comma after the date would be good
If I understand you correctly, that is already covered in the Custom Format string options. You can basically put anything you want in the string. I use:
h:nn:ss - dddd\nmmmm d, yyyy

Which displays as:
3:13:07 - Sunday
  March 6, 2011

b. option for an "A" and "P" in addition to "AM", "PM" for 12-hour mode would also be good  (make width narrower)

Sounds reasonable enough, I'll see about tossing it in.

c. if time < 10 (1 to 9) in 12-hour mode, do not show the leading zero; do show it in 24 mode, as in 0455; colon not needed in 24 mode--also shortens the width.

Took me a bit to figure this one out, but yes the default strings for 12/24 hour modes probably aren't as ideal as they once were. But if you enable the Custom format string option on the Time Format tab of T-Clock properties you can modify it to make the clock do just about anything you can think of.

Not critical; just ideas (nice ones if I do say so myself..... :) )

Indeed, and I appreciate your taking the time to share them. :)

Do you have a donation link somewhere?

Yes, two options exist, and either is fine. The donations system on the board here being the first, and there is a PayPal link (bottom left) on the main page of my web site (www.StoicJoker.com).

Thank you,
Stoic Joker
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on March 06, 2011, 02:41 PM
Ah, hadn't seen the custom format field, even though it is right there in front of me! 

?Where is a list of the mnemonic codes that can be used in it...

like (made up examples) mm comes out 09, m comes out 9, MMM comes out SEPT, Mmm comes out Sept, etc
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 06, 2011, 03:10 PM
While a proper help file is still in the "Planning Stage"... The currently available Custom Format option are listed in the T-Clock Help.rtf file that was included in the download.


Title: Re: T-Clock 2010 (download)
Post by: movrshakr on March 06, 2011, 03:21 PM
While a proper help file is still in the "Planning Stage"... The currently available Custom Format option are listed in the T-Clock Help.rtf file that was included in the download.

Ah, yes there it is.  I did look for help, but in the interface menu and in Properties.
I will be using m/d, h:mm
'cause I like it to be as narrow as possible.  If you get A and P as options, I will put that in, but usually I know if it is light outside or not!
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 06, 2011, 04:50 PM
usually I know if it is light outside or not!

LOL - Good point, but not all of us rate an office with a window...  :D
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on March 07, 2011, 10:34 AM

Ah, another suggestion...left click on it pop up a small calendar.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 07, 2011, 11:36 AM
Ah, another suggestion...left click on it pop up a small calendar.

Configurable mouse click options are on T-Clock Properties->Mouse Tab (Calendar option is among them) :)

I usually use copy custom timestamp to clipboard for single left click, and then pop the calendar with a double left click, but that's (why it's configurable) up to you.

In the currently available build the middle button actions are broken, but that will be fixed in the next release build.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on March 07, 2011, 12:56 PM
Configurable mouse click options are on T-Clock Properties->Mouse Tab (Calendar option is among them) :) I usually use copy custom timestamp to clipboard for single left click, and then pop the calendar with a double left click, but that's (why it's configurable) up to you.  In the currently available build the middle button actions are broken, but that will be fixed in the next release build.

I just can't get ahead of you, can I?   ;D

Ok, then...how about a click anywhere else closes calendar!

So there!
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 07, 2011, 01:31 PM
Sorry man, I know you're gonna hate me for this but...
Ok, then...how about a click anywhere else closes calendar!

T-Clock Properties->Miscellaneous Tab: Close calendar on loose focus - does that.

 :-\ Wait-a-minute, that maybe (i'm not sure) one of the new in development build options ...(it's available in the copy I have here at work - But it's build 95)... So (you might sort of have me).. How about I split this one with Ya. ;)
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on March 07, 2011, 01:59 PM
I have build 90.  It -IS- in there.  So, you don't have to split it with me...you already have it covered.

This utility is just amazing.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 08, 2011, 05:30 AM
That is rather odd. There were some Fuzzy Font issues awhile back, which is why I added the Quality option to the Clock Text tab. But the fuzzy part was found to be directly related to the wallpaper bleeding through a transparent Taskbar) pretty much an all-or-none set & forget type of issue, not a per font adjustment. Your black background clearing font appearance test also tracks with this (I've got scheenshots earlier in the thread from running much the same test)

In both of your screenshots the quality setting is on ClearType (XP), what happens if you set it to AntiAliased (Win7), without the black border?

Hopefully I'll have time to run some tests this evening to see (if/)how well I can replicate this.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 08, 2011, 06:29 AM
Zoiks! ...That looks like hell. It's gotta be something to do with the font as that is definitely not the clock's normal behavior ... I'll have to play with a bit to see if I can figure out what is happening.

Thanks.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 10, 2011, 10:25 PM
This happens only with Segoe fonts. Others like Tahoma or Verdana don't have this problem.

After looking into this, I've come to the unfortunate conclusion that the Segoe fonts are simply incompatable. The purpose of the font quality option selection was to resolve the fuzzy font issues that were caused by differences between Windows versions...(No single option remained clear from Win2k - 7)...Which it did for the most part, allowing each OS to get its own "best" setting. Unfortunately there aren't any other options for rendering fonts available.
Title: Re: T-Clock 2010 (download)
Post by: Babis on March 11, 2011, 05:28 AM
Hi. I migrated to tclock from tclock light, after  I changed from XP to 7.

Although it is fully featured I have a couple of questions:

- Each time I launch a new timer, I have to re-enter the wav file, to check the Repeat/Blink checkboxes and the minutes to start count down always set to 10. Is there a way to remember the previous timer's settings? So when I press the hotkey there will be 3 minutes, 30 seconds, the alarm wav file selected and both check boxes checked?

- Tclock properties> time format>custom format: it does not accept the dash / key as a day separator, though it accepts \   Is this normal behavior?

Thanks & congrats for the app.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 11, 2011, 06:55 AM
- Each time I launch a new timer, I have to re-enter the wav file, to check the Repeat/Blink checkboxes and the minutes to start count down always set to 10. Is there a way to remember the previous timer's settings? So when I press the hotkey there will be 3 minutes, 30 seconds, the alarm wav file selected and both check boxes checked?

That is most peculiar as it is supposed to be saving any configured timer until the Delete Timer X button next to the configured timers drop down menu is clicked. Other wise all timer configuration should be stored in the registry under:
HKCU\Software\Stoic Joker's\T-Clock 2010\Timers\TimerX [X being the timer number]

Scrolling through the configured timers dropdown menu should automatically display the options selected for that timer. Can you confirm that the timer config is getting stored in that registry location when a timer is started?

- Tclock properties> time format>custom format: it does not accept the dash / key as a day separator, though it accepts \   Is this normal behavior?

It should accept any character you put in, unless the character is one of the format specifiers. In which case you need to encase it in "quotes" to ge it to display as-is. Note: \n is a line break. Can you post the string you are trying to use?
Title: Re: T-Clock 2010 (download)
Post by: Babis on March 11, 2011, 07:43 AM
Thanks for your prompt reply.

It should accept any character you put in, unless the character is one of the format specifiers. In which case you need to encase it in "quotes" to ge it to display as-is. Note: \n is a line break. Can you post the string you are trying to use?

The string is:
dd/mm - hh:nn

And at the taskbar it looks like this:  
(http://img851.imageshack.us/img851/6070/snap1.png) (http://img851.imageshack.us/i/snap1.png/)



That is most peculiar as it is supposed to be saving any configured timer until the Delete Timer X button next to the configured timers drop down menu is clicked. Other wise all timer configuration should be stored in the registry under:
HKCU\Software\Stoic Joker's\T-Clock 2010\Timers\TimerX [X being the timer number]

Scrolling through the configured timers dropdown menu should automatically display the options selected for that timer. Can you confirm that the timer config is getting stored in that registry location when a timer is started?

Nice, I can confirm confirm. I edited it through registry and now it "remembers" the settings.

(http://img853.imageshack.us/img853/6646/snap2.png) (http://img853.imageshack.us/i/snap2.png/)

Is it possible that the countdown timer instead of its own window, is shown next to the clock in the sys tray? Or to have the default option when I start the timer the window to show by default? Because now it shows only on demand.

Also what it is supposed to blink? As I do not see any blink.

Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 11, 2011, 09:20 AM
Thanks for your prompt reply.

It should accept any character you put in, unless the character is one of the format specifiers. In which case you need to encase it in "quotes" to ge it to display as-is. Note: \n is a line break. Can you post the string you are trying to use?

The string is:
dd/mm - hh:nn

And at the taskbar it looks like this:   
(http://img851.imageshack.us/img851/6070/snap1.png) (http://img851.imageshack.us/i/snap1.png/)

Hm... (Sadly, I had to go read the help file...(memory going)) The system default regional settings formatting superceeds (/is used by) the T-Clock format specifiers. If you close T-Clock, does the Window's clock display dd/mm or dd-mm? If you put the slashes in quotes (dd"/"mm) does it display correctly (as you want it to)?


That is most peculiar as it is supposed to be saving any configured timer until the Delete Timer X button next to the configured timers drop down menu is clicked. Other wise all timer configuration should be stored in the registry under:
HKCU\Software\Stoic Joker's\T-Clock 2010\Timers\TimerX [X being the timer number]

Scrolling through the configured timers dropdown menu should automatically display the options selected for that timer. Can you confirm that the timer config is getting stored in that registry location when a timer is started?

Nice, I can confirm confirm. I edited it through registry and now it "remembers" the settings.

(http://img853.imageshack.us/img853/6646/snap2.png) (http://img853.imageshack.us/i/snap2.png/)

Before you edited the registry, was the info garbled, or missing? What regional & language settings are you using? I'm trying to figure out how to reproduce this behavior.


Is it possible that the countdown timer instead of its own window, is shown next to the clock in the sys tray? Or to have the default option when I start the timer the window to show by default? Because now it shows only on demand.
IIRC there was something like that requested before, but I haven't had time to address it yet. But yes, the default timer behavior is a bit coy/odd/annoying...and something I've been meaning to address at some point.



Also what it is supposed to blink? As I do not see any blink.

Clock text gets flashes bright, dim, bright, dim (it can be a bit subtle with certain color combinations).
Title: Re: T-Clock 2010 (download)
Post by: Babis on March 12, 2011, 03:29 AM
Stoic Joker, thanks for taking the time to write such detailed reply.

I will revert on Monday as at home I am still with XP and I need to access my work's PC.

However I am certain that I do not see any blink at the end of the countdown and I use the default color in the taskbar.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 13, 2011, 02:43 PM
Okay build 95 is now available. Explination for the new (.pcb) files is in the help file, but I thought I add it here also:
How to Use the PC Beep (.pcb) Sound Files - For Those Without Sound Cards

   For those that do not have sound T-Clock 2010 includes the option to use .pcb files to play a series of tones through the PCโ€™s system speaker. The .pcb files are in a plain text format, and have a straight forward (duration, frequency) simple syntax. So they can be created or edited with any plain text editor (like Notepad).

   There is one demo.pcb file included in the Waves directory. Set โ€œFiles of typeโ€ to โ€œAll (*.*)โ€ to select it. Content of the file with line by line explanation is below:

100, 400   Creates 100ms long 400Hz tone.
100, -1      100ms Pause between tones.
100, 500    Creates 100ms long 500Hz tone.
100, -1      100ms Pause between tones.
100, 600    Creates 100ms long 600Hz tone.
100, -1      100ms Pause between tones.
100, 500    Creates 100ms long 500Hz tone.
100, -1      100ms Pause between tones.
100, 400    Creates 100ms long 400Hz tone.
500, -1      500ms Pause at end of file for smoother looping.

   The first number (duration) is in milliseconds. It controls how long the tone or pause will be.

   The second number (frequency) is in hertz, and controls the pitch of the tone being played. Valid values are from 37 to 32767.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on March 13, 2011, 03:15 PM
Nice!

Thanks much for the A, P, a, p !  I have it on mine right now!
m/dd, h:nntt

Here is a real non critical one that just hit me...think about being able to open the help file from either the rt click menu or from inside properties (a Help tab or a link inside About?)  or it could be a link to the file as a page on your site.
Title: Re: T-Clock 2010 (download)
Post by: xcopy on March 13, 2011, 04:47 PM
It takes about 2 seconds on my machine to make the calendar pop up after I click. Is there a way to decrease the delay the calendar is shown, by configuration or such?  Or is it just the time the calendar dates need to be calculated?
Title: Re: T-Clock 2010 (download)
Post by: Babis on March 14, 2011, 07:06 AM
Thanks for your prompt reply.

It should accept any character you put in, unless the character is one of the format specifiers. In which case you need to encase it in "quotes" to ge it to display as-is. Note: \n is a line break. Can you post the string you are trying to use?

The string is:
dd/mm - hh:nn

And at the taskbar it looks like this:   
(http://img851.imageshack.us/img851/6070/snap1.png) (http://img851.imageshack.us/i/snap1.png/)

Hm... (Sadly, I had to go read the help file...(memory going)) The system default regional settings formatting superceeds (/is used by) the T-Clock format specifiers. If you close T-Clock, does the Window's clock display dd/mm or dd-mm? If you put the slashes in quotes (dd"/"mm) does it display correctly (as you want it to)?

Yes this does the trick and displays it as I want it to. Thanks.

(http://img140.imageshack.us/img140/109/snap1ii.png) (http://img140.imageshack.us/i/snap1ii.png/)

Also what it is supposed to blink? As I do not see any blink.

Clock text gets flashes bright, dim, bright, dim (it can be a bit subtle with certain color combinations).

Unfortunately even with the new build, I cannot make it to blink.
- I launch the new time through the keyboard shortcut
- I check the blink check-box
- When the timer ends there is only sound and not blink
I recorded all the above at a video, only 30 seconds long, which I hope you will take the time to watch.

Further please note that the keyboard shortcut: "Display Time Watch Hotkey" is not working. I pressed it a couple of times during the video (and other times during my testing) and it launches a new timer window (not the current running timer) completely blank, with only the window's title and the column names. This little window automatically disappears within one second, without displaying anything, eventhough a timer is actually running in the background. To properly display the timer I have to right click the clock, scroll up to the timers and choose the one running, except if I am doing something wrong.  You can see all that at the following video.



Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 14, 2011, 07:08 AM
Here is a real non critical one that just hit me...think about being able to open the help file from either the rt click menu or from inside properties (a Help tab or a link inside About?)  or it could be a link to the file as a page on your site.

Good one - With the number of features the clock now has, I'm starting to loose track of what all it does (and how). So I do believe it time to make a proper help file/system a priority.


It takes about 2 seconds on my machine to make the calendar pop up after I click. Is there a way to decrease the delay the calendar is shown, by configuration or such?  Or is it just the time the calendar dates need to be calculated?

Delay? There's not supposed to be one...  :huh: ...Which calendar config are you using (1, 3, or 12 month), all should be fairly instant. Let me know how you're configured (and on what OS etc.) and I'll see if I can reproduce the behavior.


If anyone else is also experiencing this behavior, do please chime in.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 14, 2011, 07:24 AM
Unfortunately even with the new build, I cannot make it to blink.
- I launch the new time through the keyboard shortcut
- I check the blink check-box
- When the timer ends there is only sound and not blink
I recorded all the above at a video, only 30 seconds long, which I hope you will take the time to watch.

Can you send me/post a copy of your registry settings I can use to try and reproduce this behavior?

Further please note that the keyboard shortcut: "Display Time Watch Hotkey" is not working. I pressed it a couple of times during the video (and other times during my testing) and it launches a new timer window (not the current running timer) completely blank, with only the window's title and the column names. This little window automatically disappears within one second, without displaying anything, eventhough a timer is actually running in the background. To properly display the timer I have to right click the clock, scroll up to the timers and choose the one running, except if I am doing something wrong.

Okay, now this part is (confirmably) broken. I'll see if I can figure out what happened tonight.
Title: Re: T-Clock 2010 (download)
Post by: Babis on March 14, 2011, 07:40 AM
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Stoic Joker's]

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010]
"ExePath"="C:\\Program Files\\T-Clock 2010 (build 90 - Release to DC)\\x64"
"AlarmNum"=dword:00000000
"Jihou"=dword:00000000
"JihouFile"=""
"JihouRepeat"=dword:00000000
"JihouBlink"=dword:00000000
"DropFiles"=dword:00000001

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\Calendar]
"CloseCalendar"=dword:00000000
"ShowWeekNums"=dword:00000001
"CalendarTopMost"=dword:00000000
"ViewMonths"=dword:00000001

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\Clock]
"Font"="Mangal"
"ForeColor"=dword:00ffffff
"FontSize"=dword:0000000b
"Bold"=dword:00000001
"Italic"=dword:00000000
"FontQuality"=dword:00000004
"ClockHeight"=dword:00000000
"ClockWidth"=dword:00000000
"LineHeight"=dword:00000000
"VertPos"=dword:00000003
"HorizPos"=dword:00000000
"FontRotateDirection"="None"

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\Desktop]
"Transparent2kIconText"=dword:00000000
"MonOffOnLock"=dword:00000000

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\Format]
"Format"="dd\"/\"mm - hh:nn"
"Locale"=dword:00000409
"Year4"=dword:00000000
"Year"=dword:00000001
"Month"=dword:00000001
"MonthS"=dword:00000000
"Day"=dword:00000001
"Weekday"=dword:00000000
"Hour"=dword:00000001
"Minute"=dword:00000001
"Second"=dword:00000000
"Kaigyo"=dword:00000001
"InternetTime"=dword:00000000
"AMPM"=dword:00000000
"Hour12"=dword:00000000
"Custom"=dword:00000001
"AMsymbol"="AM"
"PMsymbol"="PM"
"HourZero"=dword:00000000
"CustomFormat"="dd\"/\"mm - hh:nn"

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\HotKeys]

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\HotKeys\HK0]
"bValid"=dword:00000001
"fsMod"=dword:00000003
"vk"=dword:00000054
"szText"="Ctrl + Alt + T"

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\HotKeys\HK1]
"bValid"=dword:00000001
"fsMod"=dword:00000007
"vk"=dword:00000054
"szText"="Ctrl + Shift + Alt + T"

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\HotKeys\HK2]
"bValid"=dword:00000001
"fsMod"=dword:00000003
"vk"=dword:0000004f
"szText"="Ctrl + Alt + O"

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\HotKeys\HK3]
"bValid"=dword:00000000
"fsMod"=dword:00000000
"vk"=dword:00000000
"szText"="None"

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\HotKeys\HK4]
"bValid"=dword:00000000
"fsMod"=dword:00000000
"vk"=dword:00000000
"szText"="None"

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\HotKeys\HK5]
"bValid"=dword:00000000
"fsMod"=dword:00000000
"vk"=dword:00000000

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\Mouse]
"DropFiles"=dword:00000002
"DropFilesApp"=""
"01"=dword:00000007

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\QuickyMenu]
"DisplayProperties"=dword:00000000
"AudioProperties"=dword:00000000
"NetworkDrives"=dword:00000000
"ExitWindows"=dword:00000000
"QuickyMenu"=dword:00000000

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\Taskbar]
"AlphaTaskbar"=dword:00000000
"ClearTaskbar"=dword:00000000

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\Timers]
"NumberOfTimers"=dword:00000002

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\Timers\Timer1]
"Name"="New Timer"
"ID"=dword:00000001
"Seconds"=dword:0000001e
"Minutes"=dword:00000000
"Hours"=dword:00000000
"Days"=dword:00000000
"File"="C:\\Program Files\\T-Clock 2010 (build 90 - Release to DC)\\Waves\\Cuckoo.wav"
"Repeat"=dword:00000000
"Blink"=dword:00000001
"Active"=dword:00000000

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\Timers\Timer2]
"Name"=""
"File"="C:\\Program Files\\T-Clock 2010 (build 90 - Release to DC)\\Waves\\Cuckoo.wav"
"ID"=dword:00000000
"Seconds"=dword:00000000
"Minutes"=dword:0000001e
"Hours"=dword:00000000
"Days"=dword:00000000
"Repeat"=dword:00000000
"Blink"=dword:00000000
"Active"=dword:00000000

[HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010\Tooltip]
"Tooltip"="\"T-Clock\" LDATE"

Title: Re: T-Clock 2010 (download)
Post by: movrshakr on March 14, 2011, 08:07 AM
Dang, typed one and it is not here...must not have hit save.

Set to show 1-mo calendar on left click and keep it on top and close on lose focus
open cal
click in open app
cal closes (correct)
open cal
click in open app
app gains focus, cal stays open behind (oops)
close cal with x corner
open cal
click in open app
cal closes (correct)

It just alternates between closing right and just losing focus.
Title: Re: T-Clock 2010 (download)
Post by: xcopy on March 14, 2011, 09:51 AM
Delay? There's not supposed to be one...  :huh: ...Which calendar config are you using (1, 3, or 12 month), all should be fairly instant. Let me know how you're configured (and on what OS etc.) and I'll see if I can reproduce the behavior.

Id doesn't matter what config, it's present with all of them (and the delay was already there in build 90). I am running Win7x64 and my machine is a quite fast one (Core i7-860).

I checked with Sysinternals ProcessMonitor for errors but the only item was a
"HKLM\SOFTWARE\Microsoft\CTF\KnownClasses"  --> "Name not found"
which doesn't sound like a real problem.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 14, 2011, 11:53 AM
Dang, typed one and it is not here...must not have hit save.

Set to show 1-mo calendar on left click and keep it on top and close on lose focus
open cal
click in open app
cal closes (correct)
open cal
click in open app
app gains focus, cal stays open behind (oops)
close cal with x corner
open cal
click in open app
cal closes (correct)

It just alternates between closing right and just losing focus.

Hm... Okay [SJ Fiddles with calendar for 10min] that's interesting. Actually it isn't failing to close on loose focus, it isn't actually gaining focus it to start with. Even if you click on the caption bar (to give it focus) it doesn't go/show as active (red exit button etc.). You actually have to click back and forth between calendar and desktop (or other app) to get the thing to go/show as active (red exit button etc.).  Damn peculiar behavior I must say.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on March 14, 2011, 12:04 PM
Hm... Okay [SJ Fiddles with calendar for 10min] that's interesting. Actually it isn't failing to close on loose focus, it isn't actually gaining focus it to start with. Even if you click on the caption bar (to give it focus) it doesn't go/show as active (red exit button etc.). You actually have to click back and forth between calendar and desktop (or other app) to get the thing to go/show as active (red exit button etc.).  Damn peculiar behavior I must say.
Mine, thru all periods of behaving or misbehaving, retains the "active window" color in its top bar.  I do not know whether it "thinks" it is active or background, but it always displays the active window color even when behind the real active window.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 14, 2011, 12:04 PM
I am running Win7x64 and my machine is a quite fast one (Core i7-860).

Quite faster than mine by a mile or so ... I'm running a (4 year old) 2.4Ghz E6600 (Same OS)

Maybe we pick at the missing class name a bit...
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 14, 2011, 06:01 PM
@Babis - About the Not Blinking. I have a theory I'm working on, but wanted you to try something for confirmation. Set you clock text color to something (Um...) jarring Red, Green, yellow *Shrug* something loud guarantees contrast. Then re-run the blink test and let me know what it does.

Here's why. The clock should blink to white ... and I suspect it's trying to "blink" to the same white you have your text set too.

*Crossing Fingers* :)
Title: Re: T-Clock 2010 (download)
Post by: Babis on March 15, 2011, 02:10 AM
@Babis - About the Not Blinking. I have a theory I'm working on, but wanted you to try something for confirmation. Set you clock text color to something (Um...) jarring Red, Green, yellow *Shrug* something loud guarantees contrast. Then re-run the blink test and let me know what it does.


Hi Stoic Joker, this is working. I tried it with various colors and all are working except the white. I hope in the future you will make a custom blink color   8)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 15, 2011, 06:30 AM
@Babis - About the Not Blinking. I have a theory I'm working on, but wanted you to try something for confirmation. Set you clock text color to something (Um...) jarring Red, Green, yellow *Shrug* something loud guarantees contrast. Then re-run the blink test and let me know what it does.

Hi Stoic Joker, this is working. I tried it with various colors and all are working except the white. I hope in the future you will make a custom blink color   8)

I thought I did...(oops)...Guess I'll be needing to make it adjustable now. Thanks for helping me nail it down.
Title: Re: T-Clock 2010 (download)
Post by: freaky44 on March 15, 2011, 10:15 PM
Further please note that the keyboard shortcut: "Display Time Watch Hotkey" is not working. I pressed it a couple of times during the video (and other times during my testing) and it launches a new timer window (not the current running timer) completely blank, with only the window's title and the column names. This little window automatically disappears within one second, without displaying anything, eventhough a timer is actually running in the background. To properly display the timer I have to right click the clock, scroll up to the timers and choose the one running, except if I am doing something wrong.

Same behavior here at Win7 x64.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 16, 2011, 06:15 PM
Further please note that the keyboard shortcut: "Display Time Watch Hotkey" is not working. I pressed it a couple of times during the video (and other times during my testing) and it launches a new timer window (not the current running timer) completely blank, with only the window's title and the column names. This little window automatically disappears within one second, without displaying anything, eventhough a timer is actually running in the background. To properly display the timer I have to right click the clock, scroll up to the timers and choose the one running, except if I am doing something wrong.

Okay, now this part is (confirmably) broken. I'll see if I can figure out what happened tonight.

Correction ... After tracing through the code for an hour or so, I realized that I'd forgotten how to operate the damn thing (e.g. It's supposed to do that).

I Will Make a Proper Help File.
I Will Make a Proper Help File.
I Will Make a Proper Help File.
I Will Make a Proper Help File.
I Will Make a Proper Help File.
I Will Make a Proper Help File.
I Will Make a Proper Help File.


Ehm... :)

So... The Watch Window is actually only for Timers that have been selected to be Watched. Say you have several timers running at once, if they are all automatically added to the list, then it'll get rather busy quick...So The Watched Timers list is populated manually. This way you can have 10 timers running, but keep only X number of the currently really important ones available for quick access. Like so:
[ You are not allowed to view attachments ]

Even though there are 3 timers running, only 1 of them is on the (really "Important") Watch list.

The Timer Watch window is also designed to automatically close when the last watched timer expires. This is why the HotKey activation of the Watch window caused it to flash, as there was nothing on the "Watch List". However, clicking on a Timer in the Running Timers menu automatically adds it to the Watched Timers list...Which is why the window would/will then stay open.

This behavior can be demonstrated by adding a Timer to the Watch List, closing the Watch window, and then pressing the HotKey.

So... (perhaps unfortunately) it was designed to do that. ...Mind you I am on-the-market for better ideas...So feel free to suggest anything. :)
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on March 16, 2011, 06:35 PM
Don't forget the calendar window close on lose focus issue...not as sexy as the timer thing, I know.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 16, 2011, 07:11 PM
It takes about 2 seconds on my machine to make the calendar pop up after I click. Is there a way to decrease the delay the calendar is shown, by configuration or such?  Or is it just the time the calendar dates need to be calculated?

---------------------------------------------------------
 
It doesn't matter what config, it's present with all of them (and the delay was already there in build 90). I am running Win7x64 and my machine is a quite fast one (Core i7-860).

---------------------------------------------------------

I checked with Sysinternals ProcessMonitor for errors but the only item was a
"HKLM\SOFTWARE\Microsoft\CTF\KnownClasses"  --> "Name not found"
which doesn't sound like a real problem.

Quite faster than mine by a mile or so ... I'm running a (4 year old) 2.4Ghz E6600 (Same OS)

Maybe we pick at the missing class name a bit...

Note: I took the liberty of stitching some of xcopy's posts together to clarify what the issue is...So folks don't have to jump around trying to figure out what the hell we're talking about. ;)

Well, I took a peak at the calendar with ProcessMonitor on mine (also Win7 x64 - which pops open instantly), and I too have the same unknown KnownClasses reference. So I gotta guess that is probably a normal part of the control's backward compatibility stuff. There really is nothing to the Calendar; it's a standard Windows Common Control in a basic, plain window. So the lag is really quite confusing.

It is possible that something else is also hooking into the shell at the same point, but I would think that more of the clock would be lagging then ... Or is it?

If T-Clock is closed, does the default Win7 calendar pop up quickly?

If anyone else is also experiencing this Slow Calendar issue (on any OS), do please chime in.


Don't forget the calendar window close on lose focus issue...not as sexy as the timer thing, I know.

I'm getting there. It's on the list ... I'm just bouncing around a bit trying to make sure there aren't any tip-of-the-iceberg type issues. ;)
Title: Re: T-Clock 2010 (download)
Post by: xcopy on March 17, 2011, 10:28 AM
It is possible that something else is also hooking into the shell at the same point, but I would think that more of the clock would be lagging then ... Or is it?
No, nothing else lagging on my system. If another app hooked into the shell that would surely affect the native windows clock also, which brings me to

If T-Clock is closed, does the default Win7 calendar pop up quickly?
Here's a comparison video of T-Clock vs. Windows clock. Since I couldn't visualize the moment of the mouse click I tried to show that with moving of the mouse cursor hectically :)
http://screencast.com/t/hejixsGx
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on March 17, 2011, 10:41 AM
Oooooooo....that my computer worked that fast!

But there is a difference that is noticeable.  Still, your T-Clock opening is just 1/4 smidgen longer than mine, on a 3-yr old, 2.2 GHz core2duo Vista, bogged with TONS of programs and a history of tons of uninstalled programs.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 17, 2011, 11:55 AM
It is possible that something else is also hooking into the shell at the same point, but I would think that more of the clock would be lagging then ... Or is it?
No, nothing else lagging on my system. If another app hooked into the shell that would surely affect the native windows clock also

Not necessarily... Ever hear the expression two is company, three is a crowd? ...Shell hooking is/can be a lot like that (not everybody exits with CallNextHook(...)).

which brings me to

By more of the clock I meant other parts of T-Clock itself (Properties dialog, Stopwatch, Timers, etc.). - I was not implying a system level issue - Are all of T-Clock's responses a tad slow, or just the calendar's?

If T-Clock is closed, does the default Win7 calendar pop up quickly?
Here's a comparison video of T-Clock vs. Windows clock. Since I couldn't visualize the moment of the mouse click I tried to show that with moving of the mouse cursor hectically :)
http://screencast.com/t/hejixsGx

Hectic works (rather clever actually), but the speed of the calendar windows opening (viewed by itself) doesn't really strike me as that odd. However, compared to the default windows calendar it is perceivably slower. It could be a code optimization issue, perhaps...
Title: Re: T-Clock 2010 (download)
Post by: xcopy on March 17, 2011, 01:25 PM
but the speed of the calendar windows opening (viewed by itself) doesn't really strike me as that odd.
That's why I thought it was a feature that was configurable  ;)
Don't spend too much time on it, it's not really a problem but just a thing I noticed.
Title: Re: T-Clock 2010 (download)
Post by: hank55 on March 18, 2011, 09:06 AM
Hi, greetings from Czechia.

Iยดve just upgraded to Win 7 64b and installed your T-Clock.

2 questions:
1. Iยดd like to change a systray background colour under the date&time digits.
2. My systray is aligned in 2 lines. How can I make T-Clock to  show date and time in separate lines?

Thx a lot for your adv.

hank55
Title: Re: T-Clock 2010 (download)
Post by: tomos on March 18, 2011, 10:16 AM
2. My systray is aligned in 2 lines. How can I make T-Clock to  show date and time in separate lines?

hi hank55,
I dont know about #1.
I presume #2 is same as older systems -

Right-click T-Clock -> T-Clock properties:
TimeFormat tab -> Advanced Custom Clock Configurations:
Tick the Custom Format box - add time as apporpriate e.g. mine has the following:
  yyyy/mm/dd  \nhh:nn:ss

the back-slash "\" causes it to go to the next line
it's a while since I set it up - I had to experiment with spaces around the date in order to centre it

The various date options (yy mm dd etc etc) are in the help file (in the main T-Clock folder)
HTH
Title: Re: T-Clock 2010 (download)
Post by: hank55 on March 18, 2011, 11:21 AM
tomos: Yes, it works.  :Thmbsup:
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 18, 2011, 06:29 PM
@tomos - Thanks for the assist. :)

Iยดd like to change a systray background colour under the date&time digits.

With the default (themes in XP and) transparency in Vista & 7 the clock background color feature really didn't work that well anymore, which is why it was pulled. I have had a few requests for it's return, but am honestly not sure if it can be done (properly). It is something I plan to explore at some point, but can't specify when as it is not a high priority.
Title: Re: T-Clock 2010 (download)
Post by: hank55 on March 19, 2011, 03:55 AM
Stoic Joker: No problem, in the meantime Iยดll train my patience  ;) . Thx a lot for that useful gadget.

Title: Re: T-Clock 2010 (download)
Post by: AMMA on March 28, 2011, 09:16 AM
@tomos - Thanks for the assist. :)

Iยดd like to change a systray background colour under the date&time digits.

With the default (themes in XP and) transparency in Vista & 7 the clock background color feature really didn't work that well anymore, which is why it was pulled. I have had a few requests for it's return, but am honestly not sure if it can be done (properly). It is something I plan to explore at some point, but can't specify when as it is not a high priority.
What about us who use the classic theme on windows 7, background should work fine.
The only problem i found with other alternatives, is when explorer crash the clock doesn't run so i have to kill the task and run it again.
I just tried tclock2(that i found on your site), and explorer crash problem is solved, and the background option exist and work fine, so i will use tclock2 for now because background color is very essential for me, and i hope you could return this option back(and keep it disabled by default).
Thank you
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 30, 2011, 06:53 AM
What about us who use the classic theme on windows 7, background should work fine.

Actually, I'd forgotten that group existed - Even though I'm fighting to maintain Win 2000 compatibility (Doh!) -  (you win) I'll put it on the to-do list :)
Title: Re: T-Clock 2010 (download)
Post by: AMMA on March 30, 2011, 08:01 AM
Actually, I'd forgotten that group existed - Even though I'm fighting to maintain Win 2000 compatibility (Doh!) -  (you win) I'll put it on the to-do list :)
Glad to know this.
Few more suggestion if you would like to consider to add/fix to your latest build
- Local option doesn't work for non english languages, while it was working fine in old versions.
- Timer options from old versions is much better, i wish you could return the options as in TClock Lite version by Kazuto Soto.
Thanks
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 30, 2011, 08:28 AM
- Local option doesn't work for non english languages, while it was working fine in old versions.
Can you expand on this a bit, and give an example of what output should but isn't working.


- Timer options from old versions is much better, i wish you could return the options as in TClock Lite version by Kazuto Soto.

That's actually a different code branch, but I can look into it.
Title: Re: T-Clock 2010 (download)
Post by: AMMA on March 30, 2011, 08:55 AM
- Local option doesn't work for non english languages, while it was working fine in old versions.
Can you expand on this a bit, and give an example of what output should but isn't working.
Ok, here what appear for some different languages in older version:
(http://img641.imageshack.us/img641/5183/engr.png) Eng
(http://img140.imageshack.us/img140/9900/jpnj.png) Japanese
(http://img5.imageshack.us/img5/3653/62340646.png) Arabic
(http://img863.imageshack.us/img863/9218/greece.png) Greece

And your version only show english locale(ie. the first one) no matter what other locale i set!
Title: Re: T-Clock 2010 (download)
Post by: PhilB66 on March 30, 2011, 05:43 PM
@Stoic Joker

I know it was asked before but, is there going to be a portable version of T-Clock?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 30, 2011, 06:36 PM
I know it was asked before but, is there going to be a portable version of T-Clock?

I recall it being asked before also, I just can't remember the who & where. Ironically it was started on in the origional source ... but I pulled it all out during the cleaning phase of the project (It's due for another one now I think).

I'm not adverse to doing it. I've even found times when it would have been handy. I just gotta get the time to do it (it is and has been on the project's to-do list for some time).
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on March 30, 2011, 07:44 PM
Ok, here what appear for some different languages in older version:
(http://img641.imageshack.us/img641/5183/engr.png) Eng
(http://img863.imageshack.us/img863/9218/greece.png) Greece

And your version only show english locale(ie. the first one) no matter what other locale i set!
[/quote]

Okay, this is rather interesting. It seems that you have identified a paradigm shift in the project that I've never seen/noticed before. The original TClock, and TClock Lite both have the same behavior in that the Clock's regional language is independent of (and completely ignores) the system.

Where as Two_toNe & I (albeit unwittingly), Use/leverage the system's regional setting (ignoring its-own) to determine the clock's output (see below).

[ You are not allowed to view attachments ]
(Now if by chance that ain't actually Greek ...(I've not a clue)... I may be screwed)


So actually the Locale setting on the Time Format tab is a decorative artifact of a configuration that (perhaps was only for Win9x) is no-longer used.

Does that make sense? Or do you think there would be need to have the clocks textural region working independently of the (rest of the OS) Windows shell?

Obviously something must be done, as the non/dysfunctional control could be quite annoying. I'm thinking that (pull the control) shell integration/harmony is the (long term) less confusing option ... But you it seems do use/have a need for this feature. Yes?

I'll hold off on doing anything in either direction until I hear from you.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on April 01, 2011, 11:32 AM
Sir, an uncertain observation...

I turned the option ON for 'monitor off on screen lock.'  That worked--screen did go off when locked.  But I had a strange phenomenon occur about 5 times over four days...

I'd be working along and the screen would go dark then come back on on a mouse move.  Two of the times, it went into an off-on-off-on-off-on blink mode.  The period was about 1.5 sec from off to off or on to on.

I have a widget for oneclick shutdown and was able during the ON blinks to eventually move the cursor over that and click a shutdown.

I do not know for sure that Tclock was causing this, but I strongly suspect it. Since turning the option back off yesterday, I have not had the situation reappear.
Title: Re: T-Clock 2010 (download)
Post by: AMMA on April 01, 2011, 03:00 PM
Ok, here what appear for some different languages in older version:
(http://img641.imageshack.us/img641/5183/engr.png) Eng
(http://img863.imageshack.us/img863/9218/greece.png) Greece

And your version only show english locale(ie. the first one) no matter what other locale i set!

Okay, this is rather interesting. It seems that you have identified a paradigm shift in the project that I've never seen/noticed before. The original TClock, and TClock Lite both have the same behavior in that the Clock's regional language is independent of (and completely ignores) the system.

Where as Two_toNe & I (albeit unwittingly), Use/leverage the system's regional setting (ignoring its-own) to determine the clock's output (see below).
 (see attachment in previous post (https://www.donationcoder.com/forum/index.php?topic=21944.msg243477#msg243477))(Now if by chance that ain't actually Greek ...(I've not a clue)... I may be screwed)


So actually the Locale setting on the Time Format tab is a decorative artifact of a configuration that (perhaps was only for Win9x) is no-longer used.

Does that make sense? Or do you think there would be need to have the clocks textural region working independently of the (rest of the OS) Windows shell?

Obviously something must be done, as the non/dysfunctional control could be quite annoying. I'm thinking that (pull the control) shell integration/harmony is the (long term) less confusing option ... But you it seems do use/have a need for this feature. Yes?

I'll hold off on doing anything in either direction until I hear from you.
When i started using Tclock i didn't have this feature in mind, but after using it i found it more convenient to have months and days names in my local language, since my most usage of these are in my local language and not in english.
Unlike my common usage for my PC; which is in English, so english local is needed for my system.
I hope you get my point.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 01, 2011, 06:17 PM
When i started using Tclock i didn't have this feature in mind, but after using it i found it more convenient to have months and days names in my local language, since my most usage of these are in my local language and not in english.
Unlike my common usage for my PC; which is in English, so english local is needed for my system.
I hope you get my point.

Okay, I think I can work with that. I'm corrently studying multiple versions of the code to see how who toggled what where to flip the default behavior. I'm thinking that the new default is probably best as a default behavior, for most folk ... But I may be able to add a checkbox to enable/disable the language window so both options/behaviors can be accessed.

Sound Fair?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 01, 2011, 06:51 PM
Sir, an uncertain observation...

I turned the option ON for 'monitor off on screen lock.'  That worked--screen did go off when locked.  But I had a strange phenomenon occur about 5 times over four days...

That sounds like a fairly good sampling size.

I'd be working along and the screen would go dark then come back on on a mouse move.  Two of the times, it went into an off-on-off-on-off-on blink mode.  The period was about 1.5 sec from off to off or on to on.

I have a widget for oneclick shutdown and was able during the ON blinks to eventually move the cursor over that and click a shutdown.

I do not know for sure that Tclock was causing this, but I strongly suspect it. Since turning the option back off yesterday, I have not had the situation reappear.

That shouldn't be possible (shouldn't...), the monitor off code only fires (once) in response to a Session Lock message that it can only receive from the system. during a Session Change event. Hence the session would have to be in the process of locking to fire the code. Relevant code shown below:
Code: C++ [Select]
  1. case WM_WTSSESSION_CHANGE:
  2.            switch(wParam) {
  3.                 case WTS_SESSION_LOCK:
  4.                 Sleep(500); // Eliminate user's interaction for 500 ms
  5.                 SendMessage(HWND_BROADCAST, WM_SYSCOMMAND,SC_MONITORPOWER, (LPARAM) 2);
  6.                 return 0;
  7.            }

I'm running it on both of my Windows 7 machines, one I lock frequently, and one I never lock. So far I've seen no ill effects. Granted that doesn't auto-magically mean there isn't any ... But 2 out of 3 ain't my favorite odds. ;)

When it went on/off/on/off did the power light on the monitor (turn orange) react accordingly? If it stayed green/blue/whatever it could be the florescent bulb starting to go in the monitor.

Video card overheating might cause this type of behavior also...but is unlikely without other behavioral indicators.

Leave the feature off for the next week and we'll see what it does. Then if nothing goes awry, re-enable the feature and we'll see if the behavior returns.

Title: Re: T-Clock 2010 (download)
Post by: movrshakr on April 01, 2011, 07:29 PM
It is on a Vista Home Premium laptop, so no monitor light to see.

The 500ms in the code is interesting...the cycle time I saw could have been 1/2 sec for either on or off instead of 1-1/2 total as I said.  I didn't measure it--just estimating.  On and off time 'seemed' about equal, but that is not measured.

If you don't hear about it from anyone else, it may not be Tclock, or it may be some odd interaction with something on my machine and not others.

I will do as you request-- try in a week (assuming I remember to turn it back on in a week!).  However, I don't think it started right when I set the option (I don't think...but frankly, I don't remember when I set that).  Big help I am.

So, we shall experiment.

I don't read code much and certainly not C++; where is that WTS_SESSION_LOCK message (bit?) set, and what clears it? Could it still be true when unlock happens?  But never mind--I was not consciously doing anything to cause the unlock (certainly not entering the password--it was not asked-for).  That a clue?  Wait! It actually was not locking, because it came back to logged-in screen, not to login password screen as would be normal if it really had locked.  It was only screen off on, not lock-unlock.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 02, 2011, 09:41 AM
It is on a Vista Home Premium laptop, so no monitor light to see.

Crap ... Unfortunately that lends credence to my florescent light bulb theory (could be the power board at the base of the screen assy).

The 500ms in the code is interesting...the cycle time I saw could have been 1/2 sec for either on or off instead of 1-1/2 total as I said.  I didn't measure it--just estimating.  On and off time 'seemed' about equal, but that is not measured.

The half second pause allows the user time to let go of the buttons, so the triggered action isn't inadvertently canceled.

If you don't hear about it from anyone else, it may not be Tclock, or it may be some odd interaction with something on my machine and not others.

Just because nobody else noticed, doesn't (conclusively) mean that it ain't broken (See AMMA's post/discussion ;))

I will do as you request-- try in a week (assuming I remember to turn it back on in a week!).  However, I don't think it started right when I set the option (I don't think...but frankly, I don't remember when I set that).  Big help I am.

So, we shall experiment.

Thank you. The list of things I can't remember could fill a library ... *Shrug* ...It's part of being human. :)

I don't read code much and certainly not C++; where is that WTS_SESSION_LOCK message (bit?) set, and what clears it? Could it still be true when unlock happens?  But never mind--I was not consciously doing anything to cause the unlock (certainly not entering the password--it was not asked-for).  That a clue?  Wait! It actually was not locking, because it came back to logged-in screen, not to login password screen as would be normal if it really had locked.  It was only screen off on, not lock-unlock.

The Clock registers itself with the system to receive Login Session Changes, and then responds to them by firing the monitor off code. And yes you are correct about the clue, the fact that no login was required is important.

Two things (tests) that could help the diagnosis, if/when the behavior reoccurs:
1. View the monitor while shining a flashlight (or other light source) on the screen at an angle to see if the desktop is still there but very faint. Usually have to get really close (8-10") and toggle something like the Start Menu to see it. This is typical behavior if the screen's back-light goes out.

2. Try connecting an external monitor (Might require mode switching the video output), to see if it gives you back the desktop.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on April 02, 2011, 12:09 PM
Just for education, when "monitor off" is commanded (by either Tclock's call or something else) are you saying it is just backlight being turned off and the screen data is really still there?

Your no. 1 will be hard to do as it is only off for a moment and actually there seems to be a "fade-to-black" transition going on, although very fast, as it goes into black.  But it comes back almost instantly, so seeing what is faintly still there during the off time, if anything, will be iffy.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 02, 2011, 04:31 PM
Just for education, when "monitor off" is commanded (by either Tclock's call or something else) are you saying it is just back light being turned off and the screen data is really still there?

No, the exact opposite is true. If T-Clock is guilty, then the monitor should shutdown completely (and logoff [caused by source unknown]). If the Backlight bulb is faulty, then the ghost image of the desktop should still be visible.


Your no. 1 will be hard to do as it is only off for a moment and actually there seems to be a "fade-to-black" transition going on, although very fast, as it goes into black.  But it comes back almost instantly, so seeing what is faintly still there during the off time, if anything, will be iffy.

I was/am shooting for either an incident (of black-out) where T-Clock's feature isn't enabled. Or a longer term episode like the one you mentioned having to shutdown to get out of.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on April 02, 2011, 07:38 PM
...I was/am shooting for either an incident (of black-out) where T-Clock's feature isn't enabled. Or a longer term episode like the one you mentioned having to shutdown to get out of.
I have had no incidents occur when Tcolock was not enabled.

The time I had to do the shutdown was when it was in one of the off-on blink manifestations.  The ones where it completely went to black and stayed there, I was able to get back in a normal way...though I do not remember now whether a log in was required for those.  Those happened first; the last 2 or 3 were the blinking kind.
Title: Re: T-Clock 2010 (download)
Post by: ajp_anton on April 04, 2011, 10:29 AM
Bug:

When using a negative width in the "Clock Text" tab, next time the hour changes the width will appear as if the width setting was double the amount I have chosen.
For example, if I set the width to -32, the next hour (or if I just change the system time manually) the width will go to and remain at -64 (even if it's impossible to set manually).
It's not really a problem as I can just set it to -16 to get -32, but thought I'd point it out.

If it matters (haven't really tested every possibility...), my time format is "yyyy-mm-dd hh:nn:ss".
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 04, 2011, 11:38 AM
...I was/am shooting for either an incident (of black-out) where T-Clock's feature isn't enabled. Or a longer term episode like the one you mentioned having to shutdown to get out of.
I have had no incidents occur when Tcolock was not enabled.

The time I had to do the shutdown was when it was in one of the off-on blink manifestations.  The ones where it completely went to black and stayed there, I was able to get back in a normal way...though I do not remember now whether a log in was required for those.  Those happened first; the last 2 or 3 were the blinking kind.


Guess I need to do a bit of digging them ... Let me know how the test progresses.

Bug:

When using a negative width in the "Clock Text" tab, next time the hour changes the width will appear as if the width setting was double the amount I have chosen.
For example, if I set the width to -32, the next hour (or if I just change the system time manually) the width will go to and remain at -64 (even if it's impossible to set manually).
It's not really a problem as I can just set it to -16 to get -32, but thought I'd point it out.

If it matters (haven't really tested every possibility...), my time format is "yyyy-mm-dd hh:nn:ss".

Just so I can duplicate this properly (first try failed), you are saying that the setting in the properties dialog is doubling (which has a corresponding ill effect on the clock's display output), correct?

And would I be correct in assuming that you are using the latest released build (95) of T-Clock?
Title: Re: T-Clock 2010 (download)
Post by: ajp_anton on April 04, 2011, 01:12 PM
Bug:

When using a negative width in the "Clock Text" tab, next time the hour changes the width will appear as if the width setting was double the amount I have chosen.
For example, if I set the width to -32, the next hour (or if I just change the system time manually) the width will go to and remain at -64 (even if it's impossible to set manually).
It's not really a problem as I can just set it to -16 to get -32, but thought I'd point it out.

If it matters (haven't really tested every possibility...), my time format is "yyyy-mm-dd hh:nn:ss".

Just so I can duplicate this properly (first try failed), you are saying that the setting in the properties dialog is doubling (which has a corresponding ill effect on the clock's display output), correct?

And would I be correct in assuming that you are using the latest released build (95) of T-Clock?
Latest build, yes.

In properties, if I want a width of -x, I'd just set it to -x, right? This works for a while as expected.
However, the next time the hour digit changes (which I can also do manually by changing the system time), the clock layout will suddenly display as if the width was set to -2x. When going to properties, the width is still set to -x, and if I click "Apply" (have to change something to activate the button), the clock will jump back to -x and stay there until the hour digit changes again.
My workaround is to set the width to -x/2, and change the system timer by one hour in any direction (to get my -x width) and back again (for correct time). The width setting in the properties will keep showing -x/2, so every time I change any setting, the width will be set to -x/2 again until the hour changes.

Sorry for the long post, it's a bit complicated and didn't find an easy way to explain it =).

edit: attempt at a short explanation:
If width is negative: Every time the hour digit changes, it sets the width to double whatever the width setting is, without actually changing the setting. To fight back I could "apply" the settings again every hour, or just "give up" and set the width to half of what I want.
Title: Re: T-Clock 2010 (download)
Post by: paul_ray on April 06, 2011, 11:48 AM
I don't know if there are plans to use the "GetTickCount64" function instead of the "GetTickCount" function in getting the uptime but it would be nice.

The new function does not have the 49.7 day limit.
It is supported starting with Vista.
(It does not require 64 bit OS).

http://msdn.microsoft.com/en-us/library/ms724411(v=VS.85).aspx
Title: Re: T-Clock 2010 (download)
Post by: paul_ray on April 06, 2011, 11:51 AM
Are there plans to use Environment variables for the display?
I would like to use the "COMPUTERNAME" variable in my display format, so I don't have to hard code the machine name.

This makes it easier for support when I need to know the computer name.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 07, 2011, 07:05 AM
I don't know if there are plans to use the "GetTickCount64" function instead of the "GetTickCount" function in getting the uptime but it would be nice.

The new function does not have the 49.7 day limit.
It is supported starting with Vista.
(It does not require 64 bit OS).

http://msdn.microsoft.com/en-us/library/ms724411(v=VS.85).aspx

Hm... (there are now) That is an interesting option. Actually I had been planning to try using the other method that leverages the info stored in HKEY_PERFORMANCE_DATA ... But this sounds much easier/simpler/quicker - Not to mention a 585 million year wrap/limit should be sufficient for most folks... ;)

Thank you!


Are there plans to use Environment variables for the display?
I would like to use the "COMPUTERNAME" variable in my display format, so I don't have to hard code the machine name.

This makes it easier for support when I need to know the computer name.

That's definitely an enterprise (only) level feature (me thinks). Are you from the company planing to do a T-Clock roll-out? Computer name shouldn't be difficult to grab/add, but what other environmental info bits (if any) might be good to toss in with it?
Title: Re: T-Clock 2010 (download)
Post by: paul_ray on April 07, 2011, 12:27 PM
That's definitely an enterprise (only) level feature (me thinks). Are you from the company planing to do a T-Clock roll-out? Computer name shouldn't be difficult to grab/add, but what other environmental info bits (if any) might be good to toss in with it?

You are correct about enterprise but I also can use this at home.  It is quicker to get the machine name vs going to the command line or to properties of "computer".

The only variables I can think about using are "COMPUTERNAME" and "USERNAME".


Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 07, 2011, 05:39 PM
Okay, I'm currently working on figuring out how the alternate language feature got broken. But when that's done I'll take a stab at doing the computer name option. I was thinking that the computer name & uptime combo might make a good default option for the tooltip popup that shows when you hover the mouse over the clock.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on April 07, 2011, 05:44 PM
... I was thinking that the computer name & uptime combo might make a good default option for the tooltip popup that shows when you hover the mouse over the clock.

Or in options, have a place where user can select what he want to show on hover?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 08, 2011, 09:07 AM
... I was thinking that the computer name & uptime combo might make a good default option for the tooltip popup that shows when you hover the mouse over the clock.

Or in options, have a place where user can select what he want to show on hover?

Already does that, bottom of mouse tab. ;)
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on April 08, 2011, 09:11 AM
Already does that, bottom of mouse tab. ;)
-Stoic Joker link=topic=21944.msg244730#msg244730

Then ???.  
So. the current discussion is about ADDITIONAL variables that can be put in there?

Guess I'll have to go look at what can be put there now.

LATER- can the font in the balloon be changed?  I need it bigger/darker.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 08, 2011, 10:56 AM
Already does that, bottom of mouse tab. ;)
-Stoic Joker link=topic=21944.msg244730#msg244730

Then ???. 
So. the current discussion is about ADDITIONAL variables that can be put in there?

Yes.

Guess I'll have to go look at what can be put there now.

All the same format specifiers options as the main clock.


LATER- can the font in the balloon be changed?  I need it bigger/darker.

Currently no, but I'll think about it (my to-do list is getting a bit out of hand... :)).
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on April 08, 2011, 12:39 PM
date=1302271902]
LATER- can the font in the balloon be changed?  I need it bigger/darker.

Currently no, but I'll think about it (my to-do list is getting a bit out of hand... :)).

Dang those users; always wanting more and more! :)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 08, 2011, 01:01 PM
date=1302271902]
LATER- can the font in the balloon be changed?  I need it bigger/darker.

Currently no, but I'll think about it (my to-do list is getting a bit out of hand... :)).

Dang those users; always wanting more and more! :)

Meh, It's ok ... Gotta keep me off the streets somehow ... And I'm too young for Bingo...

 :D
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on April 09, 2011, 01:46 PM
Sir, regarding the previous posts about the "Locking workstation turns off monitor" strangeness I discussed...

since then, as stated, I had that checked OFF, not turned on.  Have had no issues.

This morning I turned it back on.  My FIRST attempt to go into lock, it did lock, but instantly, the blink monitor on and off began.  I was able to log back in (the on/off of monitor seemed to have no effect on typing the password in).  The blinking continued after back into logged in mode.  I did a reboot, and once in, unchecked the option.

This may be something that is happening only in MY particular configuration, but there is no doubt in my mind that it is due to the option being ON in T-Clock.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 09, 2011, 04:05 PM
but there is no doubt in my mind that it is due to the option being ON in T-Clock.

I'm inclined to agree at this point. Can you think of anything that may be unique about your config? Any security or system management software that it may be interacting badly with?
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on April 09, 2011, 06:49 PM
but there is no doubt in my mind that it is due to the option being ON in T-Clock.
I'm inclined to agree at this point. Can you think of anything that may be unique about your config? Any security or system management software that it may be interacting badly with?

Unfortunately, I run a very secure machine AND have lots of productivity tools on it.  For TSRs, there are

WinPatrol
MSE
Superantispyware Pro
Comodo FW
Carbonite
Dropbox
PhraseExpress
Bitmeter
Stickpad
Windows Sidebar
Yahoo gadgets
Camera Assistant sfw (came with laptop)
xneat Windows manager
Desktop media (puts shortcut on desktop for any connected drive)
Maxtor Status Icon (a connectivity app to get to a NAS)
Free Download Manager (not usually running but just notices it WAS set to load on startup; a recent update must have turned that back on)

There may be some others that don't have an icon in system tray.

This is not a huge issue for me; I just set 'monitor off' to 10 minutes in power options, and tha is OK.
Title: Re: T-Clock 2010 (download)
Post by: apex84 on April 14, 2011, 11:52 AM
First off I'd like to thank you for this great program. But the weeks that are displayed seem to be wrong.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 14, 2011, 02:28 PM
First off I'd like to thank you for this great program. But the weeks that are displayed seem to be wrong.

...That's why they are adjustable. Which week number (clock text or calendar) is off by how much?
Title: Re: T-Clock 2010 (download)
Post by: apex84 on April 14, 2011, 03:39 PM
 :redface: Fixed it... Thanks again.
Title: Re: T-Clock 2010 (download)
Post by: ajp_anton on April 22, 2011, 07:28 PM
Is it possible to adjust the text-based week days? I'd like to keep my Windows settings as my own region, but have the week days displayed in english. But even if I change everything to english, I'd like the week days to only display as two letters instead of three. Or even better, only one letter if the first letter is unique.
Perhaps allow custom names for all week days?

Also, you didn't reply to my earlier bug report. I can try to make a video of it since I may not have explained it very good.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 22, 2011, 07:48 PM
Is it possible to adjust the text-based week days? I'd like to keep my Windows settings as my own region, but have the week days displayed in english. But even if I change everything to english, I'd like the week days to only display as two letters instead of three. Or even better, only one letter if the first letter is unique.
Perhaps allow custom names for all week days?

Actually AMMA already caught me on the broken alternate feature (top of page 12). Which is the part I'm hung up on at the moment...That and time - I haven't really had time to work on it these days.

Also, you didn't reply to my earlier bug report. I can try to make a video of it since I may not have explained it very good.

Sorry, actually you explanation was fine, but time got away from me. Which is kind of an ironic excuse for a clock project...But true none the less.

Current todo list order is:
Language Bugg - Which is kicking my ass
Add computername & uptime format specifiers - Should be quick and simple
Your sizing bugg - Which has great potential to get "sticky" if it is where I think it is.

Unfortunately I can't currently give a time-line because I've gotten steamrolled by the office.
Title: Re: T-Clock 2010 (download)
Post by: drtalk on April 23, 2011, 03:06 PM
WHY can I not get this to work on my machine???  Is there somewhere specific to stick the .dll?  HELP!  I miss using this clock but cannot remember how to get it installed.   :wallbash:
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 24, 2011, 09:34 AM
The .dll should be in the same folder as the clock. The pair of them can be run from anywhere you like. The only catch is to use the 32-bit version on 32-bit machines, and the 64-bit version on 64-bit machines.

Runs on anything from Windows 2000 -to- Windows 7.
Title: Re: T-Clock 2010 (download)
Post by: ajp_anton on May 11, 2011, 09:06 AM
The "Close Calendar on Lose Focus" doesn't always work, as the calendar sometimes is already out of focus when opened.
Is it possible to close it by clicking the clock, as that's already how I open it. Hitting the large clock positioned at the screen's edge is easier than the "X" button with a touchpad =).
Or just fix the focus thing, although I sometimes want it to stay open while I focus other windows...
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on May 11, 2011, 10:15 AM
The "Close Calendar on Lose Focus" doesn't always work, as the calendar sometimes is already out of focus when opened.
Is it possible to close it by clicking the clock, as that's already how I open it. Hitting the large clock positioned at the screen's edge is easier than the "X" button with a touchpad =).  Or just fix the focus thing, although I sometimes want it to stay open while I focus other windows...

It won't work to close by click-in-calendar because sometimes you have to click the "next-month" button.  Solution is to find why lose focus is not working.
Title: Re: T-Clock 2010 (download)
Post by: ajp_anton on May 12, 2011, 08:41 AM
The "Close Calendar on Lose Focus" doesn't always work, as the calendar sometimes is already out of focus when opened.
Is it possible to close it by clicking the clock, as that's already how I open it. Hitting the large clock positioned at the screen's edge is easier than the "X" button with a touchpad =).  Or just fix the focus thing, although I sometimes want it to stay open while I focus other windows...
It won't work to close by click-in-calendar because sometimes you have to click the "next-month" button.  Solution is to find why lose focus is not working.
I said to close by clicking the clock (that's also how I open it), not clicking the calendar.
Also, the lose focus does work. It's that the calendar sometimes doesn't have the focus to begin with.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 12, 2011, 09:45 AM
Also, the lose focus does work. It's that the calendar sometimes doesn't have the focus to begin with.

True, and this rather annoying bugg has been fixed in the latest (albeit unreleased) development build. Unfortunately I'm currently up to my ass in alligators, and haven't had time to work on the project ... So it isn't ready for release.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on May 12, 2011, 07:00 PM
I said to close by clicking the clock (that's also how I open it), not clicking the calendar.
Also, the lose focus does work. It's that the calendar sometimes doesn't have the focus to begin with.

Indeed you did.  Sorry.
Title: Re: T-Clock 2010 (download)
Post by: Exectech on May 17, 2011, 05:02 PM
Thank you, thank you, thank you this application is so useful and we really appreciate all the work you've put into it.

I read where one want to improve on the calendar, but I didn't see where this was mentioned. I found a small problem on multiple monitors with the calendar. If you have the start menu moved to a monitor that is not your primary the calendar will open up on the primary monitor in the correct position. I found that this to be the case for all three out of four of the positions of the start menu (top, bottom, and left) with the exception being on the right side. It displays correctly.

I'm not sure if its possible, but I like the Windows 7 calendar that is built into the default clock. It would be nice if you could have a option to display that one instead of the T-Clock one.

Thank you for your continued effort of my making a part of my daily routine better.
Title: Re: T-Clock 2010 (download)
Post by: mouser on May 17, 2011, 05:39 PM
It would be nice if you could have a option to display that one instead of the T-Clock one.
yeah actually it would be nice if we had some options for calendar, like to display t-clock one, windows one, or a custom exe.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on May 17, 2011, 05:45 PM
It would be nice if you could have a option to display that one instead of the T-Clock one.
yeah actually it would be nice if we had some options for calendar, like to display t-clock one, windows one, or a custom exe.

I don't understand.  If you want to display the Windows clock, why do you install this?
Title: Re: T-Clock 2010 (download)
Post by: mouser on May 17, 2011, 05:46 PM
No we are talking about when you ask t-clock to display its popup calendar (double click?).
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 17, 2011, 06:07 PM
Thank you, thank you, thank you this application is so useful and we really appreciate all the work you've put into it.

I read where one want to improve on the calendar, but I didn't see where this was mentioned. I found a small problem on multiple monitors with the calendar. If you have the start menu moved to a monitor that is not your primary the calendar will open up on the primary monitor in the correct position. I found that this to be the case for all three out of four of the positions of the start menu (top, bottom, and left) with the exception being on the right side. It displays correctly.

I'm not sure if its possible, but I like the Windows 7 calendar that is built into the default clock. It would be nice if you could have a option to display that one instead of the T-Clock one.

Thank you for your continued effort of my making a part of my daily routine better.
Well thank you, it's always nice to know folks are enjoy T-Clock.

On the non-primary monitor bugg. I'm not sure if I can fix that ... I've always been under the impression that the start menu/taskbar is supposed to be on the primary monitor (which is adjustable). That and the dialogs are all supposed to be positioning themselves in relation to the clocks position (by design). But do please clarify if I'm off in the weeds ... I do do that sometimes... :)

Windows 7 calendar from default clock is quite an elusive little bugger. I have made several attempts at finding out how to hook and launch it but so far to no avail. I typically only quit trying after I win ... But I occasionally do have to regroup which can take some time.

It would be nice if you could have a option to display that one instead of the T-Clock one.
yeah actually it would be nice if we had some options for calendar, like to display t-clock one, windows one, or a custom exe.

Hay! ...That is an interesting idea!
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 17, 2011, 06:12 PM
It would be nice if you could have a option to display that one instead of the T-Clock one.
yeah actually it would be nice if we had some options for calendar, like to display t-clock one, windows one, or a custom exe.

I don't understand.  If you want to display the Windows clock, why do you install this?

Yes the default Windows 7 (clock's) popup calendar is really cool - Albeit next to impossible to trigger - And it doesn't stay open if it loses focus. But I'm trying... :)
Title: T-Clock 2010-Turn off Transparent text?
Post by: Mugsy on May 26, 2011, 10:11 AM
My clock text is transparent and I can't find any setting in T-Cock to disable it.

If my background is dark or a solid color, the clock text is readable. But if it is light/white, only the anti-aliasing can be seen (in color), with the clock text barely visible and pretty much unreadable.

I have tried different fonts and different anti-aliasing settings, all with no improvement.

I'm using Win7_x64. Taskbar transparency is "0" (tried other values).

I've found that the problem goes away if the Theme is set to "Classic" mode, but anything else gives me transparent text.

Can anyone help?

Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 26, 2011, 11:32 AM
I've found that the problem goes away if the Theme is set to "Classic" mode, but anything else gives me transparent text.

That is incredibly odd behavior, especially with the whited out clock face. That is troubling... Changing the font color is occasionally required to get proper contrast with a theme. But I've never seen it do that before. Except for some of the early alphas back in 2004. Can you post a screen shot of the Clock Text (tab) settings you're currently using in the shot above?
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on May 26, 2011, 11:59 AM

Was the problem of not closing on lose focus ever solved?
Title: Re: T-Clock 2010 (download)
Post by: Mugsy on May 26, 2011, 12:10 PM
Can you post a screen shot of the Clock Text (tab) settings you're currently using in the shot above?
-Stoic Joker (May 26, 2011, 11:32 AM)
I grabbed two screenshots (only the screen-corner to reduce filesize) showing the difference in appearance with the default Aero theme and using the "Classic" (ie: "no") theme.

(It appears I can not attach a file to a "Reply". I'll try adding the samples to a "New" post.)
Title: Transparent text with T-Clock 2010
Post by: Mugsy on May 26, 2011, 12:14 PM
Here are my screenshots:
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 26, 2011, 12:29 PM
Okay, that makes a bit more sense. Now try setting the font color to the silver gray that's in the middle of the color menu. It should come out looking white when applied.

Also with that font, try setting Quality to ClearType(XP). I had to do that here at the office to get Calibri to look right.
Title: Re: T-Clock 2010 (download)
Post by: Mugsy on May 26, 2011, 01:02 PM
Okay, that makes a bit more sense. Now try setting the font color to the silver gray that's in the middle of the color menu. It should come out looking white when applied.

Also with that font, try setting Quality to ClearType(XP). I had to do that here at the office to get Calibri to look right.
-Stoic Joker (May 26, 2011, 12:29 PM)
Setting the text color to "gray" makes it even harder to see. Setting it to "silver" makes it invisible. Definitely the wrong direction. The text itself is "transparent" (tinted based on color).

Changing the color does not help. Changing the "Quality" (anti-aliasing), as I noted previously, likewise has no affect.
Title: Color test
Post by: Mugsy on May 26, 2011, 01:10 PM
The only difference between these two samples is the text color.

The background image is a boat on the beach.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 26, 2011, 05:19 PM
Hm... Okay, here's what's bugging me. In you first set of pics we had this:

[ You are not allowed to view attachments ]

Which is "normal" given that I haven't gotten around to picking a better set of defaults yet.

Then - from the second set - we get this:

[ You are not allowed to view attachments ]

What changed? Does that come up every time? Or just after some event? What if any effect does hitting refresh T-Clock have? There's nothing in the code that will/can create a background color right now...(Even Classic should be transparent)...However it is on my to-do list to add that option back (by request(s)). So that behavior is really quite baffling.

Is there anything else running, that could be conflicting with it? Can you shut down the other items in the tray to see if one of them may be tripping it? Skype I know is safe, but I don't know what else might be running.

One thing I did just noticed, while flipping through your screen-shots. Is the ones that have the white clock face also don't show any taskbar transparency. Aero, by default, should have just a bit of transparency. Not entirely sure if/how that's related ... But it seems worth picking at...
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 26, 2011, 06:34 PM
Okay, played with it a bit more, While trying to replicate what I know of your configuration. For the tests, I'm running a copy of Windows 7 Basic in a Virtual PC so no Aero. But that shouldn't be an issue.

So here's the a default T-Clock with a theme applied:

[ You are not allowed to view attachments ]

And, here's what happened when I switched to Classic (You should recognize this one):

[ You are not allowed to view attachments ]

Then I switched the text color to black and got this:

[ You are not allowed to view attachments ]


Then switched back to white for this:

[ You are not allowed to view attachments ]


Then I fiddled with it for a bit trying to figure out how to best reproduce number 2.

There does seem to be a problem with one of the shades of white when entering classic mode...But hitting Refresh T-Clock did clear it up. Black seemed to do just fine at all points. I could not however manage to get it to do the whited out background trick with a theme applied.

So I'm back to pondering your configuration to see if there is anything else I may need to replicate to reproduce the behavior.
Title: Re: T-Clock 2010 (download)
Post by: Mugsy on May 26, 2011, 08:17 PM
Changing "Desktop" color seems to disable text transparency (regardless of color selected).

See screenshot below from my "Personalization" settings dialog.

Themes that have "transparent" text lack a black bar in the "preview" icon. Themes with opaque text show a black bar on the "window" graphic. The icon/theme on the left would give me transparent text. The right one: opaque.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 26, 2011, 10:08 PM
Changing "Desktop" color seems to disable text transparency (regardless of color selected).

Unfortunately that doesn't really prove anything because the applied color settings just force a repaint of the entire desktop. Which is the shotgun version of Refresh T-Clock forcing a repaint of the systemtray. The question on the table is: How do we make it do that in the first place?


Themes that have "transparent" text lack a black bar in the "preview" icon. Themes with opaque text show a black bar on the "window" graphic. The icon/theme on the left would give me transparent text. The right one: opaque.

Certain fonts are harder to render at runtime than others. T-Clock renders its own font at runtime independently of what the system is doing. Which is why the Font Quality setting had to be added. But the issue there was in the fonts washing out and appearing transparent. The issue I'm concerned with at this point is the (white) backgrounding that is appearing in your screen-shots. It is something I've simply never seen before. I did have limited success reproducing an ephemeral version of it ... But that's in a Virtual PC which means it's stuck with a crap virtualized video card.

Now I get the impression that your's are persistent. And I'd like to help. But if I cannot find a way of rely-ably reproducing the issue with the software ... Then the issue, most likely, does not exist within the software.
Title: Re: T-Clock 2010 (download)
Post by: Mugsy on May 26, 2011, 11:50 PM
if I cannot find a way of rely-ably reproducing the issue with the software ... Then the issue, most likely, does not exist within the software.
-Stoic Joker (May 26, 2011, 10:08 PM)
Yes, I fear you're right. It does seem to be connected to the way Win7 handles Theme colors. I'll just have to experiment some more.

If there was a way to *add* a background box/color to the area behind the T-clock text (I believe a much older version of T-Clock could do this), that might "fix" the problem.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 27, 2011, 06:57 AM
if I cannot find a way of rely-ably reproducing the issue with the software ... Then the issue, most likely, does not exist within the software.
-Stoic Joker (May 26, 2011, 10:08 PM)
Yes, I fear you're right. It does seem to be connected to the way Win7 handles Theme colors. I'll just have to experiment some more.

Please do let me know what you find. I'm not giving up on the issue, I'm just at a bit of a lose as to how to define it. Where is the Spring theme you're using from? Is it a 3rd party item? I never really got into the skinning craze back when so I'm not really "up" on what all of the MS themes are available.


If there was a way to *add* a background box/color to the area behind the T-clock text (I believe a much older version of T-Clock could do this), that might "fix" the problem.

Yes that was one of the legacy items I removed (back when). The transparency worked better as a default going between (Win2000 & XP) the two primarily available OS of the time. And with Vista and 7 both being themed there was no real compelling reason to bring the background color option back going forward either. This was compounded by the fact that when using either of the transparency methods (Aero or the one built into T-Clock) the background was also subjected to the transparency...Which made its effect rather moot. Well that and I thought the squared corners looked like poo.... *Shrug* :)


What I usually do in testing is drag either an explorer window or a command window down behind the taskbar for quick extra contrast when needed. This helped out a great deal when I was trying to resolve the fuzzy font issue (which is why the font quality setting was added) awhile back. I don't know (kinda doubt) if it'll help here as it seems like something is either blocking, mangling, or not sending a paint message to that window. But it might be worth a shot.
Title: Re: T-Clock 2010 (download)
Post by: Mugsy on May 27, 2011, 07:57 AM
Please do let me know what you find. I'm not giving up on the issue, I'm just at a bit of a lose as to how to define it. Where is the Spring theme you're using from? Is it a 3rd party item? I never really got into the skinning craze back when so I'm not really "up" on what all of the MS themes are available.
...
What I usually do in testing is drag either an explorer window or a command window down behind the taskbar for quick extra contrast when needed.
-Stoic Joker (May 27, 2011, 06:57 AM)
I'm afraid I added to the confusion a bit. I *am* using a skinning program "WindowBlinds7" from Stardock (love it), but when the problem persisted with it disabled/unloaded, I dismissed it as a factor.

With WB7 unloaded and is using the default "Aero" theme, I encountered the problem/solution you described earlier with "black/dark" text displaying as "transparent" and light/white text appearing opaque. The "White" box around the clock only shows when a skin is being used, drawing the clock on top of the skinned graphic.

There is no setting in WB7 to control "text" transparency, though you can change the transparency of the toolbar, windows and menus (I fiddled with them all). So I'm not sure how it is affecting text transparency, but am fairly certain now that it is. Not sure why a forced "repaint" also seems to fix the problem (temporarily, until the next reboot.)

I'll try a few more things and let you know what I find.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 27, 2011, 03:54 PM
Ah Ha! Now that sounds a plausable theory. Usually IIRC Skinning requires either WB or a hacked copy of UxTheme.dll. T-Clock does load and use functions from UxTheme.dll so if WB is stepping around it the results would be rather, unpredictable...

I've spent years hating StarDock for killing one of my favorite sites. But I may have overlook that to get  this tested properly.

Let me know what you find.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 27, 2011, 07:42 PM
Yepper it's definitely WindowBlinds (T-Clock is handling transparency in the below Screen-Shot):

[ You are not allowed to view attachments ]
Title: Re: T-Clock 2010 (download)
Post by: Txomin on June 22, 2011, 11:58 PM
Stoic, my friend, thank you very, very much for taking the time to develop T-Clock and for making available for free. I had looked everywhere for a decent tray clock replacement and I had just about given up. It is a true pity your app doesn't get more recognition. IMO, it is superior to commercial apps.

For the record, T-Clock works like a charm on my Win7 x32 and on my Win7 x64.

I must ask for the source code. I have to. Having given up on finding a replacement, I started to look into writing my own. I made enough progress to appreciate the difficulty involved. It would be a treat to look at how you have implemented T-Clock.

Thanks again. Good karma to you.
Title: Re: T-Clock 2010 (download)
Post by: MathewP on July 03, 2011, 03:06 AM
I second that. What happened to releasing the source code?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on July 12, 2011, 01:47 PM
I must ask for the source code. I have to. Having given up on finding a replacement, I started to look into writing my own. I made enough progress to appreciate the difficulty involved. It would be a treat to look at how you have implemented T-Clock.

Work has kept me to pinned down to even try to get anywhere with T-Clock for months now. And unfortunately I'm not real sure where I left off. Once I can figure out where I stopped at, I'll know what to check to make sure everything still works (I was jumping around there for a bit towards the end). Then I'll release a new build with the source included.
Title: Re: T-Clock 2010 (download)
Post by: Txomin on July 24, 2011, 04:55 PM
Great news. Thank you, my friend.
Title: Re: T-Clock 2010 (download)
Post by: darkhelmet on August 03, 2011, 03:53 PM
Thanks for the program however after looking I cannot figure out how to display the calendar. Windows 7 default is double clicking the date/clock but here I get nothing when I double click. The only alternative I could find was right-click / T-clock Quickys / T-clock calendar. Much of an improvement over the default calendar but was hoping not so much effort to display it. Or maybe I just missed a special setting?

WIN 7 64 ULTIMATE
Title: Re: T-Clock 2010 (download)
Post by: lanux128 on August 05, 2011, 05:55 AM
Thanks for the program however after looking I cannot figure out how to display the calendar.

i'm having the same problem as darkhelmet. double-clicking does nothing even though i run it on an 'elevated' status. however if i disable UAC, then the calendar appears.

btw, i'm running it on Win 7 Pro 64bit
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on August 05, 2011, 06:58 AM
Thanks for the program however after looking I cannot figure out how to display the calendar.

i'm having the same problem as darkhelmet. double-clicking does nothing even though i run it on an 'elevated' status. however if i disable UAC, then the calendar appears.

 :huh: Why would you be running T-Clock elevated??

As long as the Left Button->Double Click action is set to Show Calendar on the Mouse Tab, it should just pop open the (T-Clock) calendar. I never have figured out how to hook the default Win 7 calendar yet - But I do revisit the idea from time to time.
Title: Re: T-Clock 2010 (download)
Post by: lanux128 on August 05, 2011, 07:15 AM
Why would you be running T-Clock elevated??

i ran TClock in the elevated state to see if that solved the problem of the calendar not appearing but it didn't. then i tried after disabling UAC, upon which the calendar appeared. i still don't know what to make of it. any suggestions?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on August 05, 2011, 10:33 AM
Why would you be running T-Clock elevated??

i ran TClock in the elevated state to see if that solved the problem of the calendar not appearing but it didn't. then i tried after disabling UAC, upon which the calendar appeared. i still don't know what to make of it. any suggestions?

Well... Much as I'd love to say something brilliant ... I'm stumped.

I tried running it elevated here, and nothing worked (calendar, context menu, etc.). Damn Peculiar That Are!

But it shouldn't (ever) require elevated/administrative rights to do anything (it was designed not to). Maybe try double checking the mouse click settings, and/or setting them to a different action so we can see which part of what is failing.

(Long Shot) If you check properties on the clock.exe and tclock.dll files, do either of them show an UnBlock button?
Title: Re: T-Clock 2010 (download)
Post by: mouser on August 05, 2011, 10:49 AM
if you are looking at things that could be added -- i'd love to see a full year calendar.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on August 05, 2011, 11:05 AM
if you are looking at things that could be added -- i'd love to see a full year calendar.

1, 3, & 12 month views are available for the calendar via the Miscellaneous tab.
Title: Re: T-Clock 2010 (download)
Post by: mouser on August 05, 2011, 11:09 AM
Damn it i missed another update.. how do you keep adding features before i request them?!?!?!

Love the yearly calendar!  :up: :up: :up:
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on August 05, 2011, 02:19 PM
1, 3, & 12 month views are available for the calendar via the Miscellaneous tab.

OK, just thinking out loud here...

One possible setup: click on text calendar shows current month (like now when set to one month).  It has two new buttons on it--one brings up a larger 1-year calendar with January of current year in upper left; other button brings up 1-year calendar with current month in upper left.  The 1-yr view also should have the button to change to whichever view (Jan start or current mo. start) is not showing.

This would be way fewer steps than having to go into properties, change tab, change option, exit, open calendar...many steps.
Title: Re: T-Clock 2010 (download)
Post by: mouser on August 05, 2011, 02:27 PM
yeah but how often are you going to ever want to change that value -- personally i dont know why everyone wouldnt stick to 1 yr view.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on August 05, 2011, 02:38 PM
yeah but how often are you going to ever want to change that value -- personally i dont know why everyone wouldnt stick to 1 yr view.
Wow.  Don't assume that however you use it is how other people want it.

I need only the current month 99% of time.  But my proposal would not eliminate setting a full year as your one click initial view.  Sorry if that was not clear.  

You could set whatever you want as your normal initial view just as now.  All I was proposing was being able to pop into either of the 1-yr views without having to go into options and basicall set a new standard view...switching would be right there in the calendar.

I also see nothing wrong with putting buttons in every calendar to do an instant switch to one of the other views.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on August 05, 2011, 03:53 PM
yeah but how often are you going to ever want to change that value -- personally i dont know why everyone wouldnt stick to 1 yr view.
Wow.  Don't assume that however you use it is how other people want it.

It's a fair question that frequently needs to be addressed (probably more often) in software design; can you do something vs. should you do something.

The button idea I'm not real keen on as I spent an insane amount of time trying to get the window to wrap cleanly around the calendar control in all configurations and OSs. But. If I can hook the window's system menu, It might be cool to have flexibility options there.

I have run into occasions where view switching would have been handy as I do seem to have a rather tenuous grasp of time. 12 month view takes up a lot of screen-estate especially if one just wants a quick what day is next Tuesday answer. I also like the 1 month view as it alleviates the need to remember what month it is (like I said tenuous grasp...).


I'll add further investigation of this to the T-Clock to-do list, but all I can promis is it won't be soon. Currently most of my (scant) free time is going into my Got Space? NANY project. ...Which is also currently stalled due to the level of 9-5 Office projects keeping me on the ragged edge of burnout.
Title: Re: T-Clock 2010 (download)
Post by: lanux128 on August 05, 2011, 05:03 PM
(Long Shot) If you check properties on the clock.exe and tclock.dll files, do either of them show an UnBlock button?

thanks SJ, i'll try this when i get to the Win7 box. i'm guessing this anomaly has more to do with my Win 7 setup than your app. anyway, i'm glad that there is a TClock version for those of us who use 64-bit Windows. thanks for TClock 2010 again.. :up:
Title: Re: T-Clock 2010 (download)
Post by: vaga8ondxwr on August 10, 2011, 04:04 PM
Please support additional clocks. Thanks!
Title: Re: T-Clock 2010 (download)
Post by: ThomasMcA on August 13, 2011, 02:32 PM
Problems with Custom Format.

On my Win7 system, the hours in my custom format seem to depend on the greyed-out checkboxes.

Example: I checked Custom Format, and added this formatting text: h:nn tt \nddd, mm/dd

Problem: it displayed like this:
    15:05 PM
  Sat, 08/13

Workaround: uncheck custom format, check the 12H and AM/PM boxes, re-check custom format. The 12H setting is now greyed-out, but the same formatting text as above now displays like this:
    3:08 PM
  Sat, 08/13

I expected the tt code that shows AM or PM to also change the hours from 24 to 12.

I am using T-Clock 32 v1.0.1
Title: Re: T-Clock 2010 (download)
Post by: ersers on August 13, 2011, 04:43 PM
Hi, I have to admit taht T-Clock is one of my favourite programs (:
Thank you! (:

...however i have strange behavior on w7 x64...
When I run TC it just run (time is shown), but do not respond to any clicks ......... ?
I have to run propeties page manually and kill the process.
After that Explorer died... and restarted.
I had to repeat this to configure anything but there is something that prevent TC's comunication.
Before that i have tried to run 1.01 version of TC but there was similar action. No comunication.
I do not remember how i manage to run 1.01 but it dies after few clicks. :/
What could i do to run TC properly?
(i have tried different compatibility mode but nothing changed
some of them need UAC confirmation some not)
Only thing that i start to suspects is Kaspersky Anti Virus software...

In addition to this i have some ideas that could be useful.
TC is very good tool at displaying handy information in minimalistic way.
To minimize number of simultanously runnig applications this one could show:
- CPU usage as bars (with core division),
- RAM usage/free,
- HDD's temps from smart,
- batery and/or charge time.
configured in settings tab for taskbar and/or desktop surface (look for next idea).

I have read that there is a way to watch timer's counters but more handy could be a bunch of text lines,
displayed directly on desktop with countdown couters showing how much time left (to timers alarm - especially the long one).
Position of this could be configured in settings tab.
The same could be for be for  with cores, ram, hdd temp near clock)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on August 14, 2011, 10:30 AM
(Long Shot) If you check properties on the clock.exe and tclock.dll files, do either of them show an UnBlock button?

thanks SJ, i'll try this when i get to the Win7 box. i'm guessing this anomaly has more to do with my Win 7 setup than your app. anyway, i'm glad that there is a TClock version for those of us who use 64-bit Windows. thanks for TClock 2010 again.. :up:

Any new info (better/worse/no change) on what could be happening with this?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on August 14, 2011, 10:33 AM
Please support additional clocks. Thanks!

That is something that I plan to try, but in the interim have you tried using the W +/-X option for alternate timezones?

w +/- x   = Alternate Time Zone โ€“ Show current time +/- x hours for display of alternate time zone.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on August 14, 2011, 10:35 AM
Problems with Custom Format.

On my Win7 system, the hours in my custom format seem to depend on the greyed-out checkboxes.

Example: I checked Custom Format, and added this formatting text: h:nn tt \nddd, mm/dd

Problem: it displayed like this:
    15:05 PM
  Sat, 08/13

Workaround: uncheck custom format, check the 12H and AM/PM boxes, re-check custom format. The 12H setting is now greyed-out, but the same formatting text as above now displays like this:
    3:08 PM
  Sat, 08/13

I expected the tt code that shows AM or PM to also change the hours from 24 to 12.

I am using T-Clock 32 v1.0.1

Yes that was a rather annoying behavioral quirk (bugg...) in v1.0.1. It has been fixed in the latest build available in the first post of this thread.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on August 14, 2011, 10:40 AM
Hi, I have to admit taht T-Clock is one of my favourite programs (:
Thank you! (:

...however i have strange behavior on w7 x64...
When I run TC it just run (time is shown), but do not respond to any clicks ......... ?
I have to run propeties page manually and kill the process.
After that Explorer died... and restarted.
I had to repeat this to configure anything but there is something that prevent TC's comunication.
Before that i have tried to run 1.01 version of TC but there was similar action. No comunication.
I do not remember how i manage to run 1.01 but it dies after few clicks. :/
What could i do to run TC properly?
(i have tried different compatibility mode but nothing changed
some of them need UAC confirmation some not)

For reasons that are as of yet unclear, T-Clock does not like to be run as administrator. I'm guessing due to the agressive session isolation in newer versions of Windows. If it is run as Admin, you can (should be able to ) run a Command Prompt as administrator an from the T-Clock directory run Clock.exe /exit to unload it without crashing the shell. T-Clock is developed and tested on Windows 7 Professional x64 ... So it should not require any compatability mode configuration.


Only thing that i start to suspects is Kaspersky Anti Virus software...

Now that is an intresting (albeit rather odd) prospect. Pleas do let me know if this can be confirmed.


In addition to this i have some ideas that could be useful.
TC is very good tool at displaying handy information in minimalistic way.
To minimize number of simultanously runnig applications this one could show:
- CPU usage as bars (with core division),
- RAM usage/free,
- HDD's temps from smart,
- batery and/or charge time.
configured in settings tab for taskbar and/or desktop surface (look for next idea).

I have read that there is a way to watch timer's counters but more handy could be a bunch of text lines,
displayed directly on desktop with countdown couters showing how much time left (to timers alarm - especially the long one).
Position of this could be configured in settings tab.
The same could be for be for  with cores, ram, hdd temp near clock)


I'm still on he fence on these, but (they have come up before)I may try it when I can get time to reopen the project.
Title: Re: T-Clock 2010 (download)
Post by: ersers on August 14, 2011, 12:46 PM
For reasons that are as of yet unclear, T-Clock does not like to be run as administrator. I'm guessing due to the agressive session isolation in newer versions of Windows. If it is run as Admin, you can (should be able to ) run a Command Prompt as administrator an from the T-Clock directory run Clock.exe /exit to unload it without crashing the shell. T-Clock is developed and tested on Windows 7 Professional x64 ... So it should not require any compatability mode configuration.
Only thing that i start to suspects is Kaspersky Anti Virus software...
Now that is an intresting (albeit rather odd) prospect. Pleas do let me know if this can be confirmed.
Yes - thats was the problem (:
When TC is running as nonpriviliedged user everything works fine. Thanks.
Kaspersky has nothing to do with this (:


In addition to this i have some ideas that could be useful.
TC is very good tool at displaying handy information in minimalistic way.
To minimize number of simultanously runnig applications this one could show:
- CPU usage as bars (with core division),
- RAM usage/free,
- HDD's temps from smart,
- batery and/or charge time.
configured in settings tab for taskbar and/or desktop surface (look for next idea).

I have read that there is a way to watch timer's counters but more handy could be a bunch of text lines,
displayed directly on desktop with countdown couters showing how much time left (to timers alarm - especially the long one).
Position of this could be configured in settings tab.
The same could be for be for  with cores, ram, hdd temp near clock)


I'm still on he fence on these, but (they have come up before)I may try it when I can get time to reopen the project.

Please put it on to-do list :-)

BTW/1: When configurin tooltip for long text message TC crops the tooltip...
BTW/2: Consider sections for clock/date and other handy information.
it could be nice to put for example: UPTime: 5d 7h (vertically centered) and then time and date in 2 lines...
Title: Re: T-Clock 2010 (download)
Post by: Mee5ha on August 22, 2011, 01:43 AM
Hi. I have some suggestions.
1) Could you add an option to timer creation dialog that will automaticaly add this timer to timer watch list? I'm trying to quickly create timers using keyboard shortcuts, but then, if i want to watch them, i have to go through the menu with my mouse.
2) It would be great, if the timer watch dialog closed on [esc] press.
3) I have two monitor setup and my windows taskbar is on the secondary monitor, so is the T-Clock. But T-Clock's context menu pops up on my primary monitor - one monitor away from the point i click my mouse. If you fix this issue too, T-Clock will be perfect for me.
Thanks for your time and effort. Good luck.
Title: Re: T-Clock 2010 (download)
Post by: vabz on August 24, 2011, 03:23 AM
Could you, please, add an option to hide start button (Win XP), like in lclock & tclock light ?
Title: Mouse Click hours format
Post by: MKappy on September 02, 2011, 02:21 PM
Mouse Click hours format

I have my Left mouse double click format set to

    _yyyy-mm-dd_hh"hrs"_nn"mins"

    for example  _2011-09-02_14hrs_22mins

I use this as a time stamp for files so I can track versions of the file.

On the Time Format tab I have my time option set to 12H as I prefer to see the time in the system tray in am/pm format.  Because of this, when I do my left double click the time does not come out in military time and thus my files will not sort correctly.

Is there a format to use instead of  hh  which will give me military time when I set the format for the mouse click but I have my basic Time format set to am/pm?

Is there a page somewhere that lists all the format codes?

   Mark

Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on September 02, 2011, 05:35 PM
Is there a format to use instead of  hh  which will give me military time when I set the format for the mouse click but I have my basic Time format set to am/pm?

Currently no. But it is something that I've been considering looking into.


Is there a page somewhere that lists all the format codes?

Yes, that would be the T-Clock Help.rtf file included with the download.
Title: Re: T-Clock 2010 (download)
Post by: chaozu on September 09, 2011, 06:05 PM
Hello, (sorry for my bad english)

THANK YOU very much for this very useful program !!  :Thmbsup:

1. Could you make the alarm blinking in RED please ??
Because my windows 7 theme is in black color, so i put white for clock text color. But when the alarm blinks, i can't notice it because it blinks in white too  :(  Can we have the possibility to choose a different color for the text blinking ?
2. Could you also make the background of T-Clock blink (for instance, the text blinks in RED and/or the background of T-clock blinks in BLUE)   
3. Could you also accelerate the speed of the blinking ? Currently the alarm blinks every 1 sec. I would like to make it blink faster to capture more the attention : blinking every 0.5 or 0.25 sec.
4. Does T-Clock automatically synchronize with time.windows.com (because i don't see synchronization option in T-Clock) ?

Hoping that those new features will make T-Clock even more unique and popular !! :Thmbsup:
Thanks a lot :)
Title: Re: T-Clock 2010 (download)
Post by: mona on October 05, 2011, 06:39 PM
hello thanks for great program,i have Suggestions,can you add solar date (farsi)?please add this
more about
Solar date (http://www.google.com/search?q=solar+date+&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#q=solar+date&hl=en&client=firefox-a&hs=pzG&rls=org.mozilla:en-US:official&prmd=imvns&ei=quSMTuO3G9KZhQfs3dTbAw&start=10&sa=N&bav=on.2,or.r_gc.r_pw.,cf.osb&fp=7c74e1c1e5281000&biw=1024&bih=608)

also this link have great info and other link
http://www.ozgrid.com/forum/showthread.php?t=80547&page=1

also see this easy learn
http://en.wikipedia.org/wiki/Iranian_calendars
Title: Re: T-Clock 2010 (download)
Post by: mona on October 08, 2011, 04:37 PM
also for current time format for local:farsi must like this
dddุŒ dd mmm yyyy\nhh:nn:ss tt

so if you can add option when detect farsi local  autoselect this format
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on October 09, 2011, 09:18 AM
The locale specific default format string sounds like it may be to hairy a can of worms to open. But the Solar Date thing sounds really interesting.

I'm hoping to be able to reopen the project sometime around the end of the year, so I'll look into the Solar Date then.
Title: Re: T-Clock 2010 (download)
Post by: mona on October 09, 2011, 11:25 AM
thanks for great work,also so if you can add Hijri calendar ("Arabic calendar")
http://en.wikipedia.org/wiki/Islamic_calendar
Title: Re: T-Clock 2010 (download)
Post by: mona on October 14, 2011, 04:31 AM
hi
also Instead of start up shortcut,add auto start with registry
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"T-Clock2010"="\"C:\\Program Files\\T-Clock2010\\Win32\\Clock.exe\""
Title: Re: T-Clock 2010 (download)
Post by: Armando on November 03, 2011, 09:37 PM
[EDIT : see next post !]

Hi Stoic,

I tried your T-Clock 2010 and it's quite nice !

However, I'm having a problem with GDI objects : as soon as I starts T-Clock, explorer.exe GDI starts to leak. Closing T-Clock solves half of the problem : leak stops but... I still need to close explorer.exe and restart it.

Would you have an idea of what could cause that ? Obviously, nobody else seem to have had this problem before! I thought it could be related to some component T-Clock uses as I've read stories about certain broken .Net versions causing leaks of that kind... But T-Clock seems to be C++, right?

BTW, I'm on Windows XP SP3.

[EDIT : see next post !]
Title: Re: T-Clock 2010 (download)
Post by: Armando on November 03, 2011, 09:43 PM
Ok...  :-[ I think I was using an earlier version. Let me try the newest build !
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on November 03, 2011, 10:05 PM
But T-Clock seems to be C++, right?

Actually T-Clock is still written in (old school) pure C.

Sounds like you got it going, but let me know if it springs any more leaks. :)
Title: Re: T-Clock 2010 (download)
Post by: Armando on November 03, 2011, 11:20 PM
Hey, thanks for dropping by so quickly. Pure C eh?  :)

So far so good. I'm pretty sure everything is going to be okay now -- earlier I mistakenly ran an old version (from some other coder) in a folder close by...

But I'll keep you posted for sure.
Title: Re: T-Clock 2010 (download)
Post by: Armando on November 07, 2011, 06:08 PM
Thinkgs are working just great !  :Thmbsup:
[Edit... Sounded like a German here...]
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on November 07, 2011, 10:16 PM
Thinkgs are working just great !  :Thmbsup:
[Edit... Sounded like a German here...]

Close. Tingz iz Verkin Goot ... Would sound more like my grandfather. Every story the man told started out with "When we came over on the boat"... :)
Title: Re: T-Clock 2010 (download)
Post by: Armando on November 07, 2011, 11:18 PM
Hehe... Nice. My grandparents were from France, Ireland and Quebec/Canada (what a mix)... All speaking in their native tongue though -- a good variety of accents, but... no great "foreign accent". :)
Title: Re: T-Clock 2010 (download)
Post by: Jokezer on November 13, 2011, 11:13 PM
Recently I formatted my hard drive. I had to re install T-Clock. When I
downloaded the zip file and extracted it, I selected 64. However the
program never installed. I went back to your page and saw your
recommendation about using this URL:
https://www.donationcoder.com/forum/index.php?topic=21944.0 to download
T-Clock. I went to the site, made a donation and got the license key.
However, to use the key I must run T-Clock. And here is the Catch-22, the
zip file will not install the program, so there is no way to enter the key.

Please teach a fan of T-Clock what he is doing wrong

k
Title: Re: T-Clock 2010 (download)
Post by: mouser on November 13, 2011, 11:25 PM
Welcome to the site Jokezer.  :up:

While I'm quite sure that Stoic Joker would appreciate any donation (just click the gold coin under his name to send him some of your donation),
his T-Clock build does not take a license key.  So something else is going wrong that is making the program not run for you.

I'm a very satisfied user of the program but i'm afraid I don't have any insight into fixing your problem -- hopefully someone else will, so stay tuned.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on November 14, 2011, 07:08 AM
Indeed mouser is correct in that T-Clock never has, nor ever will require a key of any kind. So it should just run, assuming the right executeable is selected, and the default windows clock (which it hooks into) is visible.

Assuming you have a 64-bit copy of Windows installed, the 64-bit copy of T-Clock (Clock.exe in the x64 folder) should run ... Although the difference made when T-Clock first starts (with its defaults) may be a bit subtle. If you right click on the clock after running Clock.exe the T-Clock properties should be availables, and from there you can customize it as you like.

There is no install per se, just extract it to where you want it to run from, and then run it. I may do an installer in the future...but that will depend on whether or not Windows 8 kills it.
Title: Re: T-Clock 2010 (download)
Post by: Txomin on December 06, 2011, 10:27 PM
Feature request: chime on the hour and/or at intervals.

I am willing to develop this myself if you ever release the source.

Thanks again. I'm a big fan of this application.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 07, 2011, 06:42 AM
That's been a feature of T-Clock since the begining; bottom of alarms tab (hourly chime). Options there are Play Sound (any), Chime Hour, and Blink (which isn't really visible with Win7 and the default color scheme).

I'm hoping to get back on the project after the first of the year, but may just release the code if it doesn't pan out.
Title: Re: T-Clock 2010 (download)
Post by: Txomin on December 11, 2011, 09:16 PM
Oops, I missed that one.

Thanks for the quick reply.
Title: Re: T-Clock 2010 (download)
Post by: superboyac on December 15, 2011, 12:17 PM
Stoic, someone here at work was just asking for this:
Can TClock somehow add the ability to display Unix Time (Posix time)?  I couldn't find anything on the internet that could do it.  Thanks.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 15, 2011, 05:36 PM
Stoic, someone here at work was just asking for this:
Can TClock somehow add the ability to display Unix Time (Posix time)?  I couldn't find anything on the internet that could do it.  Thanks.

Posix Time?? [Drawing a bit of a blank]...Is that the one that is the number of seconds since 1970-01-01 00:00:00? Currently no ... But it doesn't sound that hard to do... Let me know if I'm on the right track, and I'll take a shot at it.
Title: Re: T-Clock 2010 (download)
Post by: superboyac on December 15, 2011, 11:59 PM
Stoic, someone here at work was just asking for this:
Can TClock somehow add the ability to display Unix Time (Posix time)?  I couldn't find anything on the internet that could do it.  Thanks.

Posix Time?? [Drawing a bit of a blank]...Is that the one that is the number of seconds since 1970-01-01 00:00:00? Currently no ... But it doesn't sound that hard to do... Let me know if I'm on the right track, and I'll take a shot at it.
You know, I'm not entirely sure either, i just was emailed the question.  I looked it up and it's called "unix time" or "posix time".  Here's the wikipedia article:
http://en.wikipedia.org/wiki/Unix_time

I think it has something to do with a number that starts with some date in 1970, and has been continuing since.  So any date/time can be converted to this number like 1323962876 .  So it doesn't have punctuations or anything.  I tell you what, if you were able to do it, it would really surprise the guy, that would be fun for me!  Anyway, that's as much as I know.  It doesn't sound very hard to do, sounds like a simpel conversion formula.  But i don't really know anything about programming.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 16, 2011, 08:27 AM
Yes, I googled it after posting. I can't guarantee anything (there's alot going on), but I'll see what I can do. Is there a specific time you'd like to have it by? It does sound easy enough, but the formatting code is about 8 pages long (And I'm not entirely sure where I stopped at... eek!).
Title: Re: T-Clock 2010 (download)
Post by: superboyac on December 16, 2011, 10:18 AM
Yes, I googled it after posting. I can't guarantee anything (there's alot going on), but I'll see what I can do. Is there a specific time you'd like to have it by? It does sound easy enough, but the formatting code is about 8 pages long (And I'm not entirely sure where I stopped at... eek!).
No time table at all.  8 pages long?  Sheesh.  yeah, if it's not easy don't bother, it's nothing important or time-critical or anything like that.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 16, 2011, 11:10 AM
Yes, I googled it after posting. I can't guarantee anything (there's alot going on), but I'll see what I can do. Is there a specific time you'd like to have it by? It does sound easy enough, but the formatting code is about 8 pages long (And I'm not entirely sure where I stopped at... eek!).
No time table at all.  8 pages long?  Sheesh.

LOL Actually it's 11 pages (I just checked). So now the curiosity has gotten the best of me (shit...) I started poking at it with a stick to see what would happen. Now there seems to be two different options for the output, one of which is just the current UTC time. The other is the number of seconds since 1970-01-01 00:00:00. So are they looking for:
Number of seconds UTC 1324054818
Number of seconds Locale Time (same as above -300 sec because I'm GMT -5)
Unix/RFC 2822 formatted date: Fri, 16 Dec 2011 17:00:17 UTC


I'm assuming it's the first one. but want to double check before I get too far into testing this. I'm currently using the display at the top of the page at http://www.epochconverter.com/ as a target for the output.  


Note: if it's really just UTC time they're after the w+/-xx format specifier will give the UTC (or any other zone) time. So me being GMT/UTC -5, would use w+05 to get back to UTC instead of the usual 'h' in the custom format string.
Title: Re: T-Clock 2010 (download)
Post by: superboyac on December 16, 2011, 02:33 PM
Yes, I googled it after posting. I can't guarantee anything (there's alot going on), but I'll see what I can do. Is there a specific time you'd like to have it by? It does sound easy enough, but the formatting code is about 8 pages long (And I'm not entirely sure where I stopped at... eek!).
No time table at all.  8 pages long?  Sheesh.

LOL Actually it's 11 pages (I just checked). So now the curiosity has gotten the best of me (shit...) I started poking at it with a stick to see what would happen. Now there seems to be two different options for the output, one of which is just the current UTC time. The other is the number of seconds since 1970-01-01 00:00:00. So are they looking for:
Number of seconds UTC 1324054818
Number of seconds Locale Time (same as above -300 sec because I'm GMT -5)
Unix/RFC 2822 formatted date: Fri, 16 Dec 2011 17:00:17 UTC


I'm assuming it's the first one. but want to double check before I get too far into testing this. I'm currently using the display at the top of the page at http://www.epochconverter.com/ as a target for the output. 


Note: if it's really just UTC time they're after the w+/-xx format specifier will give the UTC (or any other zone) time. So me being GMT/UTC -5, would use w+05 to get back to UTC instead of the usual 'h' in the custom format string.
Yeah, I think it's the first one with just the long string of numbers.  That's a cool website you linked, I wonder if that would be good enough for the guy.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 16, 2011, 02:57 PM
Who cares, update attached  :D

(But Seriously...) I did not do a full build/release for this update ... Only the .dll's have been recompiled to allow for the new POSIX Custom Format Specifier.

[ You are not allowed to view attachments ]

To use download the patch and extract the (32 or 64 bit) version of the dll you need. Overwrite the tClock.dll file in the install directory with the new one. Then adding POSIX as a format specifier wil give the number of seconds elapsed since Unix Epoch 1970-01-01 00:00:00

[ You are not allowed to view attachments ]
Title: Re: T-Clock 2010 (download)
Post by: superboyac on December 16, 2011, 04:45 PM
Stoic!  That's so cool!  Thanks man.  I just emailed the guys, I'm sure they'll like it.  This coding snack stuff is incredible quality with incredible service.  And all the money goes to the big boys like Adobe with their bloated apps, what? customer service, and small issues that don't get resolved version after version after...
Title: Transparency problem
Post by: Fl1nk on December 17, 2011, 05:41 AM
Hi!
I have the same problem as https://www.donationcoder.com/forum/index.php?topic=21944.msg250425#msg250425
T-Clock text is non-transparent when I use Windows 7 Basic theme, but is transparent with non-classic
 themes. I switched the "Enable transparency" theme setting - same result. The more color intensity - the more transparent clock text (and more invisible).
[ You are not allowed to view attachments ]
"Black" color with disabled theme transparency.
[ You are not allowed to view attachments ]
Green color with disabled theme transparency.

I don't use WindowBlinds, just usual modified aero theme. I' ve used a BetaClock on Win 7 x86, but I'm going to migrate to x64 and T-Clock will be very appropriate program for tray clock customizing.
As I see, you don't have solution for this problem now. Please fix it, it's important for me.
Title: Re: T-Clock 2010 (download)
Post by: Jesper Hertel on December 31, 2011, 08:30 PM
I must admit I haven't read all 16 pages of comments, so I don't know if this bug has been mentioned before:

Right now at local time 2012-01-01 03:21, the week number is "00". It should be 52.

The "TClock: Calendar" shows the week number correctly.

The bug only shows a few days in the beginning of every year, and some years not at all... :-)

Happy new year!
Title: Re: T-Clock 2010 (download)
Post by: ajp_anton on January 25, 2012, 06:00 AM
Will you continue developing this at some point?
If so, I have a feature request:

Add an alarm countdown whenever it's active, and choose whether to have the clock or the countdown displayed by default, and the other when mouseover.
edit: And of course the ability to set the alarm timer as a countdown instead of just a set time =).
Title: Re: T-Clock 2010 (download)
Post by: mitzevo on April 09, 2012, 08:09 AM
I just wanted to say thanks for the nice piece of soft! Good job Stoic Joker, exactly what I was looking for - better customization for the time and date of Win7  :Thmbsup:
Title: Re: T-Clock 2010 (download)
Post by: zzc on April 12, 2012, 07:39 AM
I have been a happy user of betaclock (which has not been updated since 2007) on a Win XP computer for many years, and I was dismayed to find that it did not work on my new Win7 64-bit notebook. I was very happy when I found T-Clock 2010 recently. Thanks to Stoic Joker for the excellent software.

Just one small request to Stoic Joker. As far as I know (hope that I did not miss something obvious), to get the popup calendar, a user has to right click the time-date display, point to T-Clock Quickys, then move the mouse cursor over to T-Clock Calendar. I would appreciate it very much if you could kindly make accessing the calendar easier, e.g. a single left-click on the time-date display would popup the calendar, just like in betaclock. I do know that I can assign a hotkey to display the calendar but there are already far too many hotkeys from various software for poor me to remember.

 
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 12, 2012, 11:18 AM
Just one small request to Stoic Joker. As far as I know (hope that I did not miss something obvious), to get the popup calendar, a user has to right click the time-date display, point to T-Clock Quickys, then move the mouse cursor over to T-Clock Calendar. I would appreciate it very much if you could kindly make accessing the calendar easier, e.g. a single left-click on the time-date display would popup the calendar, just like in betaclock.

That is already a configurable option on the Mouse tab of T-Clock Properties. Just select Mouse Button, number of clicks, and action wanted (show calendar is on the default list) and hit apply. :)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on April 12, 2012, 11:23 AM
While I'm here...

The T-Clock project is officially closed, as I no longer have time to continue working on it. The source code for T-Clock 2010 (unfinished but stable) build 98 is available on the download page of my website (link as usual in first post of thread).
Title: Re: T-Clock 2010 (download)
Post by: zzc on April 12, 2012, 08:44 PM
That is already a configurable option on the Mouse tab of T-Clock Properties. Just select Mouse Button, number of clicks, and action wanted (show calendar is on the default list) and hit apply.

Thank you very much for pointing out the configuration option for displaying the calendar. Somehow, I missed it when I looked through the T-Clock Properties. I am very impressed with your thoroughness in the design of the software. My apologies.
Title: Re: T-Clock 2010 (download)
Post by: lanux128 on April 12, 2012, 09:03 PM
The T-Clock project is officially closed, as I no longer have time to continue working on it. The source code for T-Clock 2010 (unfinished but stable) build 98 is available on the download page of my website (link as usual in first post of thread).

while this makes me a little sad, i hv to thank SJ for writing a 64-bit version of TClock. this utility has made my transition to Win7 much more bearable as TClock is one of the 1st tool that i install.

so once again, thanks SJ! :Thmbsup:
Title: Re: T-Clock 2010 (download)
Post by: Txomin on April 25, 2012, 09:27 AM
Thank you, Stoic Joker. Your work is much appreciated and the source code is a brilliant farewell gift. Karma to you.
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on July 19, 2012, 09:04 AM
First post here. First of all, Thank you for this great tool! I've been using its predecessors for a long time already and upgraded from your 2006 version to the latest today.

I have two comments for now. First, there seems to be an issue with the text rendering in Windows 7 Aero Glass theme. I've set the font to Segoe UI Regular 9pt, the standard UI font seen almost everywhere in Win7. With the text colour of white (#ffffff), the font looks too bold and has colour fringes (coming from somehow inproperly drawn ClearType text). This is much improved with a colour of silver (light grey), but the text also seems not as bright. Interestingly, when setting the colour to black, the text is invisible and a strange shadow of it is in its place.

Second, while I like the idea of turning the monitor off when the computer is locked, this should be a bit improved. Instead of immediately turning the monitor off, there should be a slight delay of maybe 10-30 seconds so that I can see that the computer is actually locked. Then, when somebody moves the mouse or something happens and the monitor wakes up, it should turn off again after a short time of inactivity. I've written such a behaviour in an older tool of mine which I'm using on WinXP, but my method is broken and has side effects. And I wouldn't need to rework it if other tools that I regularly use already do that. :-)
Title: Re: T-Clock 2010 (download)
Post by: mouser on July 19, 2012, 09:06 AM
I suggest we ignore SJ's comment about not working more on TClock and simply do not let him leave it.
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on July 19, 2012, 09:12 AM
Damn, too late... I didn't expect anything I need to know in those 17 pages and then this... Alright, so it seems I need to look into it myself. Anyway, glad the source code is available, I'll see if I can get it to work. Thanks for the hint, mouser. I might have waited in vain here.
Title: Re: T-Clock 2010 (download)
Post by: mouser on July 19, 2012, 10:38 AM
I wouldn't rush off so fast LP -- Stoic Joker needs to be convinced by all of us not to give up on TClockEx -- lots of us love it and he's done such a great job maintaining it.. I hope he will reconsider and maybe keep working on it a little as he has time.. Maybe a short break is all he needs..
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on July 19, 2012, 01:46 PM
Ah, that you mean. I had erroneously imagined ironic tags around your post. ;-) Well, I think I could take a look at the source anyway, just out of curiosity how such things are done at all.
Title: Re: T-Clock 2010 (download)
Post by: ethan_hines on September 09, 2012, 10:50 PM
There is a little known time format that existed for only about a year. Yes I realize that doesn't give much credence to the idea but this is the year of change and I would like to know since now the SC is released if someone could add the option for decimal (metric) time where there are 10hrs per day 100mins per second and 100seconds per minute. See Wikipedia's Article http://en.wikipedia.org/wiki/Decimal_time#France

Thanks
Title: T-Clock 2010 & win 8
Post by: t42 on October 31, 2012, 10:40 AM
Too bad, no functionality in windows 8. It started to show time, else no reaction.
Title: Re: T-Clock 2010 (download)
Post by: mouser on October 31, 2012, 11:47 AM
Maybe we can convince Stoic Joker to update it for Windows 8 as his NANY 2013 (https://www.donationcoder.com/forum/index.php?board=313.0) project?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on October 31, 2012, 12:04 PM
Too bad, no functionality in windows 8. It started to show time, else no reaction.
Strange, it runs fine on my Win8 x86 laptop, and the Win8 x64 machine I have here in my office. The text does seem to move around a bit when the charms bar is opened or closed. But beyond that it did fine throughout the beta, and on the release versions I'm running now.

Maybe we can convince Stoic Joker to update it for Windows 8 as his NANY 2013 (https://www.donationcoder.com/forum/index.php?board=313.0) project?

My we're persistent...  :D ...But I don't have a prayer of hitting that target.

Work is leaving me with no time for a life these days...and most of the life I've had time for has been a bitch. *Shrug* ...That's "normal" this close to 50, right..?
Title: T-Clock 2010 on windows 8
Post by: t42 on October 31, 2012, 01:37 PM
I'm on x64. No compatibility mode helps. It shows in the tray and is indicating time and date, that's all. No interface, no reaction. Version .95
I can't switch off DEP for it.

Microsoft Windows 8 Enterprise N
OS Kernel Type   Multiprocessor Free (64-bit)
7-3632QM CPU @ 2.20GHz on Dell Inspiron 7520
OS Version   6.2.9200 (Win8 RTM)
.NET Framework   4.0.30319.17929 built by: FX45RTMREL
DirectX   DirectX 11.0
OpenGL   6.2.9200.16384 (win8_rtm.120725-1247)

Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on October 31, 2012, 05:12 PM
I took a quick try on the font rendering issue today. I replaced the TextOut function call by DrawThemeTextEx which is supposed to paint text on glass surfaces. But the API is highly different. Not only the layouting works differntly, it also requires a Unicode string as opposed to the plain ANSI char* used in the programme. These are obstacles that I cannot easily pass. My C++ skills are too limited, not to mention even more ancient C. If somebody could explain me how to replace TextOut with DrawThemeTextEx correctly, I could possibly make it work. Until now, I only see some random pixels, and for some time, my TClock build won't respond and eventually crash Explorer. Guess I should restart Windows first.

Update: I should restart Explorer correctly. Integrity level Low and High are both wrong, it must be Medium. (Using Process Hacker) This is a bit more complicated to run as, but it works. Then TClock (and all other applications...) works correctly again.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on October 31, 2012, 06:07 PM
I can't switch off DEP for it.

Nor do you need to ... I'd have never released it if that was a requirement. I run DEP for everything and have NX enabled. T-Clock runs fine.

Are you by chance running the 32-bit binary?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on October 31, 2012, 06:20 PM
I took a quick try on the font rendering issue today. I replaced the TextOut function call by DrawThemeTextEx which is supposed to paint text on glass surfaces. But the API is highly different. Not only the layouting works differntly, it also requires a Unicode string as opposed to the plain ANSI char* used in the programme. These are obstacles that I cannot easily pass. My C++ skills are too limited, not to mention even more ancient C. If somebody could explain me how to replace TextOut with DrawThemeTextEx correctly, I could possibly make it work. Until now, I only see some random pixels, and for some time, my TClock build won't respond and eventually crash Explorer. Guess I should restart Windows first.

Update: I should restart Explorer correctly. Integrity level Low and High are both wrong, it must be Medium. (Using Process Hacker) This is a bit more complicated to run as, but it works. Then TClock (and all other applications...) works correctly again.

That's the downside of inheriting a program that was originally written in the mid 90's :) The unicode handling was one of the things that tripped me up as well - The project requires a massive rewrite to resolve this I suspect.

The DrawThemeTextEx (and friends) function(s) was a (really clever) home grown export by Two_toNe, I tried to do what I could with it...But I too have my limits. Best advice I can give is do most of your testing in a VM because T-Clock hooks directly into the shell and will crash it in a flash if something (test code level) goes sideways. During development I ran 3 VMs and 2 Remote Desktop sessions for testing purposes to avoid crashing the shell (constantly...) on my main development machine.
Title: Re: T-Clock 2010 (download)
Post by: t42 on October 31, 2012, 08:09 PM
Are you by chance running the 32-bit binary?

-nope, x64.

The OS was not updated from MS, it is a clean install + Dell Inspiron drivers.
Tomorrow I will try it on VM Windows 8N.

During development I ran 3 VMs and 2 Remote Desktop sessions for testing purposes to avoid crashing the shell

- many, many thanks. hence, not a single crash on all my server 2003, windows 7 and server 2008 R2 machines all the time with T-Clock 2010  :)


Title: Re: T-Clock 2010 (download)
Post by: t42 on November 01, 2012, 10:03 AM
Tested ver.95 on Oracle VirtualBox VM as Windows 8 Enterprise N [x64-bit Operating System, AMD Phenom II X6]
Same as on real x64 Windows 8 - no interface response

The good news that I tested on the same host VM Server 2012 Standard x64. Build 95 works like a charm :)

Update.
Just installed VM Windows 8 from another image (Enterprise x64 En, not "N" as previous one). ...not functioning as well (


Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on November 01, 2012, 06:36 PM
Damn peculiar that is. With all of the WMP systems ripped out of N it makes sense that T-Clock would have problems as it is dependent on much of it for its media file handling. But Enterprise shouldn't have any effect on it ... That I can think of.

May haps if we can get a larger test group a trend or commonality could be spotted/found.
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on November 02, 2012, 03:21 AM
Where do those N versions actually come from? Here in Germany I could best imagine such crippleware-by-law, but I've never seen one.
Title: Re: T-Clock 2010 (download)
Post by: t42 on November 02, 2012, 05:24 AM
Where do those N versions actually come from?

It is the original MS images, final builds. They were on the MSDN and on the RTM channels as well. I think we can forget about "N" image 'cause as I wrote above, I installed the usual Enterprise image x64 English with the same negative result. They are both x64. I can't try now the final x32 image, maybe I manage do it after a while.
Title: Re: T-Clock 2010 (download)
Post by: t42 on November 02, 2012, 12:00 PM
Last attempts:
1)
I installed VM Windows 8 Enterprise RTM X86
- Result: negative
2)
Using my main VM Windows 8 Enterprise N x64, I installed Media Feature Pack for N which install Media Player and related technologies
[ http://www.microsoft.com/en-us/download/details.aspx?id=30685 ]
- Result: negative
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on November 10, 2012, 08:27 AM
I've just tried it with a clean Windows 8 Pro x86, and build 95 works with no problem. Seems to behave exactly like on Windows 7. t42, did you try deactivating other apps to find if one of them may be interfering with TClock?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on November 11, 2012, 08:49 AM
I'm wondering if any of these work while the clock is being unresponsive.

      /exit   : Exit T-Clock 2010
      /prop   : Open T-Clock 2010 Properties
      /start   : Start the Stopwatch Counter (open as/if needed)
      /stop   : Stop (pause really) the Stopwatch Counter
      /lap   : Record a (the current) Lap Time
      /reset   : Reset Stopwatch to 0 (stop as/if needed)


Also might be worth a shot to try the released with sourcecode build 98 to see if it behaves differently.
Title: Re: T-Clock 2010 (download)
Post by: t42 on November 12, 2012, 09:47 AM
t42, did you try deactivating other apps to find if one of them may be interfering with TClock?
In fact almost nothing to deactivate, because I made several new installations, x86 including, only to test  TClock.
Title: Re: T-Clock 2010 (download)
Post by: t42 on November 12, 2012, 09:55 AM

      /exit   : Exit T-Clock 2010
      /prop   : Open T-Clock 2010 Properties
      /start   : Start the Stopwatch Counter (open as/if needed)
      /stop   : Stop (pause really) the Stopwatch Counter
      /lap   : Record a (the current) Lap Time
      /reset   : Reset Stopwatch to 0 (stop as/if needed)

All above commands are working OK. Changing the time format in /prop mode is working after restart.
Changing various "Clock Text" options and quality doesn't remove unresponsiveness.

Please note that in the safe mode TClock is fully functional.

Title: Re: T-Clock 2010 (download)
Post by: t42 on November 12, 2012, 09:59 AM

Also might be worth a shot to try the released with sourcecode build 98 to see if it behaves differently.

Can someone kindly compile the build 98 code? Unluckily I can't compile nothing except assembler and usual Linux routine.
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on November 12, 2012, 10:50 AM
t42, the archive already contains executable files, in the directory "Release". I've just noticed that while building it here and looking for the actual build result in that complicated directory structure. I didn't find the download anymore, though, so you'd have to search for that if you don't already have it. (I've downloaded it 2 weeks ago and can't remember from where exactly.)
Title: Re: T-Clock 2010 (download)
Post by: t42 on November 12, 2012, 10:55 AM
the archive already contains executable files

Thanks, I've got it. Same unresponsiveness as build 95.
Title: Re: T-Clock 2010 (download)
Post by: t42 on November 12, 2012, 11:02 AM
It is a miracle. After starting once build 98 and (after that build 95 again) with no luck the system (x64 W8 Enetprise) was rebooted. After system reboot both builds are working as it should be.

Update.
Can't repeat the situation on the VM. 95 and 98 are not responsive.
Title: Re: T-Clock 2010 (download)
Post by: t42 on November 13, 2012, 08:36 AM
Final and identical results, received on three Win 8 x64 systems (one Inspiron i7 and two VM [enterprise & enterprise "N" on Phenom x6])

1. If I run T-Clock from file manager (Total Commander 8.0 and 8.01, no matter with administrative rights or not, UAC is off), it is unresponsive to left and right mouse clicks.
(My message, posted on November 12, 2012, 10:55:45 AM was  not precise because it was a single event. Another such single instance was observed once on another system)

2. Anyway after the shortcut was placed in a StartUp folder, T-Clock is initializing and working absolutely normally. Same if started from Windows "Run" applet. Same if started from Windows Explorer.

3. Started from the .bat file T-Clock is also unresponsive.

Sorry that I could not describe it all in full in my first message.

Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on November 13, 2012, 08:42 AM
Does Total Commander offer multiple ways to start processes? Altap Salamander has some workaround option for that which I've never used. They use a separate process or so to start applications. Maybe TClock cannot be run from a console process, I've never tried that. (Wild speculation: Maybe when the console host is closed, TClock loses its stdout stream and writing to it blocks. Not that it should write something to it...)
Title: Re: T-Clock 2010 (download)
Post by: t42 on November 13, 2012, 09:30 AM
Maybe TClock cannot be run

There were never such problems in Server 2008 R2, Win 7. It is Win 8 specific, maybe only with final builds.
I just checked with Server 2012 one more time, it is OK to start from .bat file and Total Commander.



Title: Re: T-Clock 2010 (download)
Post by: pilgrim on December 12, 2012, 06:42 AM
I stopped following this thread several months ago after installing the program. Having looked at it again I have just learned how to get the calendar working, I was under the impression it was not available, and that there is a build 98, which I have just updated to without problems.

My reason for posting is to ask if anyone can help me solve a minor problem:-
When I open the calendar it appears 20 pixels above the taskbar and 20 pixels in from the right of the screen, I have tried moving it into the corner but it always reverts to its original position. Is there any way of getting it to stay in the corner permanently?

Being unaware that the built-in calendar was working I recently discovered QuickMonth Calendar (http://www.codedawn.com/quickmonth-calendar.php) which is very similar but has a slightly different appearance depending on the theme in use.

[ You are not allowed to view attachments ]

This does open in the corner.
Title: Re: T-Clock 2010 (download)
Post by: cmpm on December 12, 2012, 08:45 AM
That is a windows setting.
The default windows clock - calendar displays a bit above the taskbar and away from the edge as well.
Title: Re: T-Clock 2010 (download)
Post by: pilgrim on December 12, 2012, 09:19 AM
That is a windows setting.
The default windows clock - calendar displays a bit above the taskbar and away from the edge as well.

Thanks for that I'll stick with the one I'm using, by default it opens in the corner and you have options to put it where you want.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 13, 2012, 07:45 AM
That is a windows setting.
The default windows clock - calendar displays a bit above the taskbar and away from the edge as well.

Correct(ish), The calendar's position is hard-coded into T-Clock based on (mimicking) the behavior/position of the default Windows pop-up calendar.
Title: Re: T-Clock 2010 (download)
Post by: TheMen on January 24, 2013, 01:30 AM
Hi!

Since this year I have a problem that the weeknumber displayed in my tray lags 1 week behind the week number displayed in the calender, which is correct. The years before 2013 this was ok!

Can this be fixed?
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on January 24, 2013, 01:32 AM
Since this year I have a problem that the weeknumber displayed in my tray lags 1 week behind the week number displayed in the calender, which is correct. The years before 2013 this was ok!
Oh, you're right, same here. Didn't even notice, not even when the year started on Tuesday with week 0...
Title: Re: T-Clock 2010 (download)
Post by: pilgrim on January 24, 2013, 04:02 AM
Although I do not use the built-in calendar have a look at T-Clock 2010\Properties\Miscellaneous - Calendar: First Week of Year (Change to 1.)
Unless I'm missing something that should put it right.
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on January 24, 2013, 04:15 AM
Although I do not use the built-in calendar have a look at T-Clock 2010\Properties\Miscellaneous - Calendar: First Week of Year (Change to 1.)
-pilgrim-online (January 24, 2013, 04:02 AM)
It doesn't change the week number displayed in the main clock. I don't use the calendar, there's other solutions for that. I just keep the current week number displayed near the date and time. Right now it says "3" but it's actually already "4".
Title: Re: T-Clock 2010 (download)
Post by: pilgrim on January 24, 2013, 04:31 AM
I've just being doing some reading on this and in XP in particular it appears to be down to the regional settings in some countries, as applied by MS.
(http://zijlema.basicguru.eu/wrongweek.html)

What I didn't find was a solution!
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on January 24, 2013, 04:51 AM
Windows 7 here.
I'm using the time format:
Wm   = ISO Numeric Week-Of-Year โ€“ Starting Monday.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on January 24, 2013, 06:42 AM
For the calendar's week number set the (miscellaneous tab) first week of year back to 0
For the Clock use Ww to use the SWN (Simple Week Number) option

That should get both to display week 4
Title: Re: T-Clock 2010 (download)
Post by: TheMen on January 28, 2013, 05:45 AM
Ww seemed to work end of last week, but now we are already in wk 5 and my T-clock still displays wk 4, see screen capture.
Title: Re: T-Clock 2010 (download)
Post by: K-o-k-o on February 04, 2013, 03:48 AM
I'm experiencing the same issues as described with the weeknumber in the taskbar.
Config: Windows 7 + T-Clock 2010 x64 - build 95

- Weeknumber in the Calendar is OK when I set the first week of year back to 0 (miscellaneous tab).
- Weeknumber in the taskbar Clock is 1 week behind when using the Ws or Wm option
- Weeknumber is 1 week behind only on Monday when using the Ww option
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on February 04, 2013, 07:03 AM
Ww seemed to work end of last week...

Glad you posted that, I was beginning to think I was nuts. At this point I've got no idea what is going on, and no time to poke through the code to find out.
Title: Re: T-Clock 2010 (download)
Post by: waiwhite on February 18, 2013, 09:19 PM
G'day,

Nice program.

Just one suggestion. Any chance of having a restriction when the chimes will not sound like say from 10 pm to 7 am?  :D
Title: Re: T-Clock 2010 (download)
Post by: mouser on February 18, 2013, 09:23 PM
Not a bad idea.
Title: Re: T-Clock 2010 (download) - Week number - ISO-8601
Post by: henriko on February 27, 2013, 05:16 AM
Hi Stoic Joker, and others. I'm not sure if there are going to be any more "official" builds from you, or if the project really is closed. But anyway. If someone will make a new build, here is a contribution to format.c , that will provide week numbers according to the ISO-8601 standard.

I hope that someone can make some use of it, and in that case document the feature where it should be documented. I have chosen Wi as the new format identifier for ISO-8601 week number.

It might be used like this:
vWi yymmdd hh:nn
v9 130217 12:14

format.c diff
535a536,613
> else if(*(sp + 1) == 'i') { // Week ISO-8601 (by henriko.se)
> int ISOWeek;
> struct tm *ptrtmLocalTime;
> struct tm tmCurrentTime;
> struct tm tmStartOfCurrentYear;
> ptrtmLocalTime = localtime(&ltime);
> tmCurrentTime = *ptrtmLocalTime;
> mktime(&tmCurrentTime);
> if(tmCurrentTime.tm_wday == 0)
> {
> tmCurrentTime.tm_wday = 7;
> }
> tmStartOfCurrentYear.tm_year = tmCurrentTime.tm_year;
> tmStartOfCurrentYear.tm_mon = 1 - 1;
> tmStartOfCurrentYear.tm_mday = 1;
> tmStartOfCurrentYear.tm_hour = 0;
> tmStartOfCurrentYear.tm_min = 0;
> tmStartOfCurrentYear.tm_sec = 0;
> tmStartOfCurrentYear.tm_isdst = 0;
> mktime(&tmStartOfCurrentYear);
> if(tmStartOfCurrentYear.tm_wday == 0)
> {
> tmStartOfCurrentYear.tm_wday = 7;
> }
> ISOWeek = (tmCurrentTime.tm_yday + (tmStartOfCurrentYear.tm_wday - 1)) / 7 + (tmStartOfCurrentYear.tm_wday <= 4 ? 1 : 0);
> if(ISOWeek == 0)
> {
> struct tm tmStartOfLastYear;
> struct tm tmEndOfLastYear;
> tmStartOfLastYear.tm_year = tmCurrentTime.tm_year - 1;
> tmStartOfLastYear.tm_mon = 1 - 1;
> tmStartOfLastYear.tm_mday = 1;
> tmStartOfLastYear.tm_hour = 0;
> tmStartOfLastYear.tm_min = 0;
> tmStartOfLastYear.tm_sec = 0;
> tmStartOfLastYear.tm_isdst = 0;
> mktime(&tmStartOfLastYear);
> if(tmStartOfLastYear.tm_wday == 0)
> {
> tmStartOfLastYear.tm_wday = 7;
> }
> tmEndOfLastYear.tm_year = tmCurrentTime.tm_year - 1;
> tmEndOfLastYear.tm_mon = 12 - 1;
> tmEndOfLastYear.tm_mday = 31;
> tmEndOfLastYear.tm_hour = 0;
> tmEndOfLastYear.tm_min = 0;
> tmEndOfLastYear.tm_sec = 0;
> tmEndOfLastYear.tm_isdst = 0;
> mktime(&tmEndOfLastYear);
> ISOWeek = (tmEndOfLastYear.tm_yday + (tmStartOfLastYear.tm_wday - 1)) / 7 + (tmStartOfLastYear.tm_wday <= 4 ? 1 : 0);
> }
> if(tmCurrentTime.tm_mon == 12 - 1 && tmCurrentTime.tm_mday >= 29) {
> if(tmCurrentTime.tm_wday <= 3)
> {
> struct tm tmStartOfNextYear;
> tmStartOfNextYear.tm_year = tmCurrentTime.tm_year + 1;
> tmStartOfNextYear.tm_mon = 1 - 1;
> tmStartOfNextYear.tm_mday = 1;
> tmStartOfNextYear.tm_hour = 0;
> tmStartOfNextYear.tm_min = 0;
> tmStartOfNextYear.tm_sec = 0;
> tmStartOfNextYear.tm_isdst = 0;
> mktime(&tmStartOfNextYear);
> if(tmStartOfNextYear.tm_wday == 0)
> {
> tmStartOfNextYear.tm_wday = 7;
> }
> if(tmStartOfNextYear.tm_wday <= 4)
> {
> ISOWeek = 1;
> }
> }
> }
> wsprintf(szWkNum, "%d", ISOWeek);
> Wk = szWkNum;
> while(*Wk) *dp++ = *Wk++;
> sp++;
> }
Title: Re: T-Clock 2010 (download)
Post by: iflyun on April 27, 2013, 08:06 AM
Hi, First off thanks for the great extension. I have a clear theme for windows 7 which doesn't darken the tray so i'm having a hard time reading the clock with white backgrounds. Is there a way to solve this problem? Changing the color of the text doesn't do anything and I'd prefer it to be white anyway.

[ You are not allowed to view attachments ]

Maybe something like subtitles on movies where the font is black and white?
or this Variable Text Color (http://stackoverflow.com/questions/1331591/given-a-background-color-black-or-white-text)

Help? Just being able to change the color would be a start.
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on May 03, 2013, 02:07 PM
Thank you Henrik for this patch. It was sitting in my inbox for a long time but I finally got around to apply it the build 98 and make a new build of it. I'm now testing it, which obviously may take a few days (and then some more years...). I've just put all three - Wi, Wm and Ww - in two rows to see when they differ.

In case anybody is interested, I've uploaded my build here:
http://unclassified.de/tmp/T-Clock.20130503.f9f71075.7z

It's basically the original build 98, upgraded for Visual Studio 2010, with the patch above applied. The archive contains all files from the Release directory that don't look like compiler stuff.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 03, 2013, 07:20 PM
Thanks to henriko for sharing a fix, and LonelyPixel for creating and sharing a build including the fix. I really still haven't even had time to fix my own copy... :-[

@LonelyPixel - If you like, I can add the link to your build to the first post so it's easier for people to find...else it might get lost back here on page 19. I'm still getting about 9 Emails a week about that bugg...So there's a huge calling for it.
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on May 04, 2013, 05:49 AM
If you like, I can add the link to your build to the first post so it's easier for people to find...else it might get lost back here on page 19.
-Stoic Joker (May 03, 2013, 07:20 PM)

I have nothing against it, but this link is temporary so it may disappear some time in the future, either when it's replaced by a newer version or somebody else publishes a better one...

I'm not sure about your source code licence, I haven't found any information about it. I could put up a repository on Github and also upload current source builds there. That would be a more "suitable" location for such things. (I wouldn't want to setup a real project page on my dev website because it's not my project.) But I couldn't really maintain the code, just update it from other locations and integrate ready patches. How do you manage your source code? Could you work with a Github repository as well? (It could save you from data loss as well... :))
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on May 30, 2013, 09:39 PM
In case you guys still want to know how to display the windoze calendar, its possible ;)
IIRC you already got that handle.. or at least a system to find such windows/controls. I just can't implement it myself as I'm a gcc developer and I don't want to convert your source :P

P.S. wParam=0 or WM_USER+103 will show the original tooltip... (which I prefer... not only because it will show different time zones)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on June 04, 2013, 06:45 AM
In case you guys still want to know how to display the windoze calendar, its possible ;)
  • Find the tray window with class: "Shell_TrayWnd"
  • find control with class: "TrayClockWClass"
  • PostMessage: WM_USER+102,1,0
IIRC you already got that handle.. or at least a system to find such windows/controls. I just can't implement it myself as I'm a gcc developer and I don't want to convert your source :P

P.S. wParam=0 or WM_USER+103 will show the original tooltip... (which I prefer... not only because it will show different time zones)

I'd hate to admit how much time I spent trying to fond that information ...(and never did)... Thank you for making it available. I only wish I had the time to play with it.


If you like, I can add the link to your build to the first post so it's easier for people to find...else it might get lost back here on page 19.
-Stoic Joker (May 03, 2013, 07:20 PM)

I have nothing against it, but this link is temporary so it may disappear some time in the future, either when it's replaced by a newer version or somebody else publishes a better one...

I'm not sure about your source code licence, I haven't found any information about it. I could put up a repository on Github and also upload current source builds there. That would be a more "suitable" location for such things. (I wouldn't want to setup a real project page on my dev website because it's not my project.) But I couldn't really maintain the code, just update it from other locations and integrate ready patches. How do you manage your source code? Could you work with a Github repository as well? (It could save you from data loss as well... :))
-LonelyPixel (May 04, 2013, 05:49 AM)

Greetings, sorry about the delay...but I really wasn't sure how to answer the licensing question (I tend to find them annoying). The original author (Kazubon) created TClock as a teaching tool to show people how to code for the then new Windows 95 shell. So given that the original author intended it to be for everyone to use and learn from...(to my way of thinking)...I would be in extremely poor taste for me to impose any sort of licensing/restrictions on T-Clock's code. I have merely been the projects caretaker for the last decade or so. It is to belong to everyone.

I've never actually used Github or any of the other source management systems but if it makes it easier for you to manage your branch of the project... *Shrug* ...is ok by me ;)

Given that T-Clock's home (according to Google...) has been here for quite some time, I'd be happy to list/link to any of the builds here so they are easier for people to find if/when they go looking.

------------------------------
Post #: 4,000
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on June 04, 2013, 07:22 AM
Alright, so from a licensing perspective, either BSD (or the similar MIT) licence or Public Domain would be appropriate. BSD/MIT require keeping any existing author/copyright notices but allow everything else. Public Domain should actually allow everything with no restriction whatsoever. BSD/MIT are very common among open-source projects with a very liberal licence, and Public Domain is for instance used by the very popular SQLite project.

As for GitHub, I actually wouldn't need to maintain "my branch" of T-Clock. (I'm just a user who wants to see it working...) My idea was to find a place for the latest version of the code for every contributor to contribute to and hence for every interested user to get it from. I've seen three current contributors so far, one being you and the other two being the most recent patch commenters in this forum. I don't see myself as one of them so far. It would of course be most useful if everybody had access to this one location and GitHub could be it. (There are sure other sites like CodePlex and you name it, but my personal experience is limited to GitHub. Also, I'm not fully aware of how multi-contributor cooperation really truly works with GitHub, but at least one repository is certainly a start for it.)

Long story short, I'll just create a repo there, upload my latest build of it and publish the URL. You could then also use that link for this site and we'll see how it goes with further contributions and patches. No obligations at all.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on June 04, 2013, 09:30 AM
Sounds like a plan ... Thank you!
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on June 04, 2013, 01:30 PM
The source code is now up: https://github.com/dg9ngf/T-Clock

The download archive isn't all as lucky. GitHub has discontinued the file download feature, because it was confusing as they say. Too bad, it served me well. I'm currently trying the Google Drive hosting, but it has been proven to be complicated to handle in the past. Plus it's not really part of the repository so that other contributors could replace it... Maybe I'll just include it in the source code repository as well.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on June 04, 2013, 03:02 PM
GitHub source code repository link added to first post/page.
Title: Re: T-Clock 2010 (download)
Post by: paul_ray on June 10, 2013, 06:37 PM
I don't know if there are plans to use the "GetTickCount64" function instead of the "GetTickCount" function in getting the uptime but it would be nice.

The new function does not have the 49.7 day limit.
It is supported starting with Vista.
(It does not require 64 bit OS).

http://msdn.microsoft.com/en-us/library/ms724411(v=VS.85).aspx

Hm... (there are now) That is an interesting option. Actually I had been planning to try using the other method that leverages the info stored in HKEY_PERFORMANCE_DATA ... But this sounds much easier/simpler/quicker - Not to mention a 585 million year wrap/limit should be sufficient for most folks... ;)

Thank you!

In looking at the code in on GitHub, I found the section that would have to be changed to support the new function.
In the format.c file around line 461, there is this comment "<--+++--<<<<< WTF (If AnyThing) Does This Do?!?!?!?"
In this block, the "st" would have to be a long (ULONGLONG). Then the function would be GetTickCount64().

Note a check for the OS version would need to be done here to see which version to call.

This section (with the comment "<--+++--<<<<< WTF (If AnyThing) Does This Do?!?!?!?") does the "System Uptime".
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on June 19, 2013, 09:52 PM
quick question: How I can display GMT time? I know of w+05 thing but "05" is not constant and changes when daylight saving starts ...  :tellme:
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on June 20, 2013, 02:21 AM
Why not set your computer's time zone to UTC instead of your local time zone? So it would be consistent with every other appearance of a clock in the system.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on June 20, 2013, 06:21 AM
IIRC GMT, UTC, & Zulu are all different ways to refer to the same thing (been awhile since I looked it up). T-Clock uses the system clock for its time source, so if the system is set to use DST then T-Clock has no choice but to do the same.
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on June 20, 2013, 07:51 AM
May be the system has a vaiable that shows the offset considering the daylight saving. Then, instead of a fixed number, say 05, we could use that vaiable to figure out GMT time.

I actually wanted to use this as the Mouse-Over Tooltip Text.
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on July 23, 2013, 08:48 AM
I just noticed that using TZN option in Time Format always shows PDT even if the computer is set to EDT and after a restart of the program.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on July 23, 2013, 11:31 AM
TZN ... Time Zone? The locale dropdown at the top of the Time Format tab is for altering the character set the clock display uses. Which it doesn't do well in my builds for some reason ... Never did figure that one out.
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on July 23, 2013, 07:22 PM
Well yes, I meant Time Zone Name. I was trying to use TZN as part of Advanced Clock Configuration Options to show something like this: h:nn:ss tt TZN ---> 2:14:36 PM EDT
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on July 24, 2013, 06:52 AM
Um... I don't recall TZN being a format specifier option ...(not that I wasn't adding all sorts of stuff at one point)... Which T-Clock are you using?? I've got build 95 here at work and TZN does nothing.
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on July 24, 2013, 08:32 AM
I found TZN option in "T-Clock Help.rtf" file. I am using LonelyPixel's version.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on July 24, 2013, 11:49 AM
Ah! That explains it then...I'm an idiot.

I had to poke through the source for LonleyPixel's build for a bit...

The TZN was/is a beta feature I was playing with that was part of the build 98 source code that I released when I announced that I was going to have to shutdown the project. It should track the system's time zone setting ... But I've unfortunately not a clue why it might be failing.
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on July 24, 2013, 06:31 PM
Please, please, please resurrect the project :)
It is a nice piece of software and a lot of people are using it ...
Title: Re: T-Clock 2010 (download)
Post by: 21944.450 on August 16, 2013, 06:42 AM
I'd like the option to bring up the default Windows calendar/analog clock thing (http://www.guidingtech.com/assets/postimages/2010/04/dateandtime1.png) when I click it. If I understood correctly, didn't someone just figure out a way to do that?
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 28, 2013, 03:34 PM
here you go.. (hope the 64bit build does work...)
I've also removed the T-Clock tooltip stuff... so this will only show the original tooltip and calendar.

So there's still stuff to do... add options to choose which calendar to use (or maybe not :P) or to use T-Clock's custom tooltip instead of windows default one... etc.
Also... I couldn't find a way to get the same behavior as the default clock... so clicking T-Clock once will open the calendar, clicking it again while the calendar was open will just reopen it and not just close it as the default clock does...

Anyway.. the build should be stable and hopefully enough for you ;) (it's enough for me :P)

P.S. sry about the delay... I just saw your post today^^
P.P.S. I didn't upload the source right now as it's not clear how it should be implemented and my current source is quite ugly :P Otherwise I would have created a Git folk to make it easy to implement it on the master (and I would have run astyle on the source, besides other cleanup stuff)

@edit:
removed attachments (32bit downloaded 5 times, 64bit 7 times)
new downloads: https://www.donationcoder.com/forum/index.php?topic=21944.msg336616#msg336616
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on August 28, 2013, 04:09 PM
As for the "close on second click": If your problem is that the calendar window loses focus when clicking the taskbar, then there's a common solution for you. Remember the time when the calendar window lost focus, and count the time until the mouse button was pressed (not clicked, which includes the release) on the taskbar item. If it's shorter than a few milliseconds, the calendar was still focused just ago. In this case, you can close it again.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 28, 2013, 05:36 PM
I guess you miss understood me...
The problem lies indeed within the focus-loose-ability of the Windows clock calendar... And since it's the standard calendar, I can't detect it's focus loss without some kind of injection... Otherwise it would be easy to just assume it's still open and then just close it....

I'm stuck here... unable to think of anyway around it :P (I still wonder how the original clock does it... since most of the task is done by the taskbar itself (mouse movement, clicks etc.) and they communicate only by messages. Thus the same way we/I do... Maybe the clock just sends a message to the taskbar :P To lazy to check that^^ It won't really help anyway.
Title: Re: T-Clock 2010 (download)
Post by: 21944.450 on August 28, 2013, 05:42 PM
Works perfectly for me. Just like the default clock, click to open, click again to close, or click outside it to close.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 28, 2013, 05:49 PM
[...] click again to close [...]
that shouldn't work... actually it can't work^^ Are you sure about that?
Title: Re: T-Clock 2010 (download)
Post by: apex84 on August 30, 2013, 08:38 AM
that shouldn't work... actually it can't work^^ Are you sure about that?

Double-clicking the clock while the calendar is open will close the calendar.

EDIT: btw thanks for releasing this build. I've been looking forward to this feature ever since the 2010 version was released.
Title: Re: T-Clock 2010 (download)
Post by: 21944.450 on August 30, 2013, 08:40 AM
[...] click again to close [...]
that shouldn't work... actually it can't work^^ Are you sure about that?

You're right, turns out I may have been wrong. I'm unable to get it to work again now. It definitely was working when I posted, but that was probably due to some other focus-related interaction.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 30, 2013, 10:32 AM
[...]
EDIT: btw thanks for releasing this build. I've been looking forward to this feature ever since the 2010 version was released.
Thanks goes to 21944.450^^ He's the one who asked for it... and I was to lazy to implement it just for my little self :P
And yes, "double-clicking" might work or might not.. Still.. it's more kind of a bug (in this case the typical bug=feature thingy) I will try to do it proper next time...

currently I'm trying to implement the calendar for XP as a stand alone app which will be called from T-Clock in case you want the T-Clock calendar ;) (this reduces memory usage for those who only use the calendar from time to time and for those who use the default one)
I'm kind of a performance freak.. so it will take some time :P (as I will try to improve other stuff as well)

Anyone of the devs here against the outsourcing idea? Eg. build everything into Clock.exe or use standalone apps for "unimportant" stuff? Eg. calendar, sntp (I plan on using the sntp stuff from TClockLight kt (https://github.com/k-takata/TClockLight))
The only draw back I can think of is bigger distribution size and thus a little more disk space wasted^^ And it might take a few ms longer to launch external apps such as the XP calendar, but that should be negligible (except on high PC load)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on August 30, 2013, 11:30 AM
Focus Peek-A-Boo issue ... The behavior rings a bell...

I remember having a great deal of "fun" with this one back when I did a bunch of code cleanup and removed something I thought wasn't necessary. The calendar would sometimes close on lose focus and sometimes not, and the mouseover tool tip was hit or miss.

What I found was depending on which version of screwed up I was trying was that the calendar and tooltip would work perfectly the first time...and then never again...until the clock was restarted. Or the situation would reverse so that it never worked the first time, but did fine afterwards.

The cause was a piece of code that deals with swapping the message loop between threads on the fly ... Which I had removed (in retrospect) basically just to make myself nutz for about a month. I don't recall where the function is, but I do recall it was towards the top of one of the .c files. Unfortunately, I don't have a copy of the source handy and am (as usual these days) pressed for time. But hopefully the function description will make it findable as I suspect based on the hit-or-miss behavior described above that the problem most likely resides there.

-------------------//-------------------------

@WhiteTigX - The SNTP code (with hotkey and logging functions) is already in T-Clock 2010, it's just been EasterEgged due to its requirement of administrative rights to reset the system time.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 30, 2013, 03:11 PM
[...]
@WhiteTigX - The SNTP code (with hotkey and logging functions) is already in T-Clock 2010, it's just been EasterEgged due to its requirement of administrative rights to reset the system time.
I know ;) And it works.. but the one from TClockLight kt is not only already an external app but seems to be improved (better accuracy etc..)
So I still stick with that one ;) But I'll try to compare them both and see what can be improved.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 02, 2013, 04:04 PM
Well... I guess and hope I'm done ;)

I suggest anyone who used my previous build to update. (this fixes at least 1 crash and some possible crashes)
Also: it now allows one to choose whether to use system calendar/tooltip or not.
+ Mouse Button 4 and 5 can be used.
T-Clock.7z (https://github.com/White-Tiger/T-Clock/blob/yg-master/Release/T-Clock.7z?raw=true)
T-Clock.zip (https://github.com/White-Tiger/T-Clock/blob/yg-master/Release/T-Clock.zip?raw=true)


P.S. please check if clicking once shows calendar, and clicking again hides (of course, u'll have to enable mouse clicks first)
P.P.S. devs: can anyone with Visual Studio please check the project files? Do they still work? (I hope they do... they work with WinSDK)
https://github.com/White-Tiger/T-Clock/

edit:
New downloads here: https://github.com/White-Tiger/T-Clock/releases (always latest)
Title: Re: T-Clock 2010 (download)
Post by: apex84 on September 03, 2013, 06:55 AM
Yes, clicking once now hides the calendar.
Title: Re: T-Clock 2010 (download)
Post by: mouser on September 04, 2013, 10:00 AM
Nice Thank you  :up:
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on September 04, 2013, 11:40 AM
Well... I guess and hope I'm done ;)

There is no done with T-Clock. It is like the ornate puzzle box in Hell Raiser ... Once opened you are drawn into an alternate universe where demons (some of your own making) torment you (with ideas) for eternity. They visit me still...the voices, the whispers at night...as if just at the edge of hearing...taunting me "Try this" they say. But the idea is never fully formed. It's always just enough to make you wonder, is it? will it? Could it be..? They dare me with curiosity to once again open the Project Folder...knowing I will be totally consumed, by its power.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 05, 2013, 12:59 PM
*sigh*... made a mistake with my last build :P basically I've changed a type of a variable from BOOL to char, but I didn't know that one external file declares it again as extern... with type BOOL^^
Not sure if this can cause a crash or other stuff... as the linker still knows what was meant and thus it might be ok.... ugly but ok.

Anyway... I suggest you to again download my build (link 's still the same)

@Stoic Joker
I'm still open to suggestions and bug fixes... don't worry ;) I just hoped I was done with my prior work... but it seemed like not xD (and I still wonder if there are any users out there that hate my calendar changes...)
Title: Re: T-Clock 2010 (download)
Post by: LonelyPixel on September 05, 2013, 01:42 PM
I've got a real calendar for that. ;-) (Palm Desktop *cough* - don't have much time to replace it but I'm at it...)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on September 05, 2013, 02:39 PM
@Stoic Joker
I'm still open to suggestions and bug fixes... don't worry ;) I just hoped I was done with my prior work... but it seemed like not xD (and I still wonder if there are any users out there that hate my calendar changes...)

I like the new calendar options ... Running it with the Windows calendar option now.
Title: Re: T-Clock 2010 (download)
Post by: char7 on September 08, 2013, 11:02 PM
Well... I guess and hope I'm done ;)

I suggest anyone who used my previous build to update. (this fixes at least 1 crash and some possible crashes)
Also: it now allows one to choose whether to use system calendar/tooltip or not.
+ Mouse Button 4 and 5 can be used.
T-Clock.7z (https://github.com/White-Tiger/T-Clock/blob/yg-master/Release/T-Clock.7z?raw=true)
T-Clock.zip (https://github.com/White-Tiger/T-Clock/blob/yg-master/Release/T-Clock.zip?raw=true)

P.S. please check if clicking once shows calendar, and clicking again hides (of course, u'll have to enable mouse clicks first)
P.P.S. devs: can anyone with Visual Studio please check the project files? Do they still work? (I hope they do... they work with WinSDK)
https://github.com/White-Tiger/T-Clock/

Hi,

In this build, left clicking or right clicking does not work after I lock and unlock my desktop. I also activated the turn screen off when locking the desktop option.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 09, 2013, 05:46 AM
so not even the context menu works? that's strange...
The clock is still there right xD?

Well... I didn't make any change that I know of that could have caused this...
So I need to ask you which OS (including 32/64 bit), where is your Taskbar located and does it happen all the time? (Win+L, then go back in again)
And it worked with Stoic Joker's and LonelyPixel's build (https://www.donationcoder.com/forum/index.php?topic=21944.msg325430#msg325430)?
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on September 09, 2013, 06:40 PM
I see there has been some discussions about the calendar lately. I have set the Tclock calendar to show three months. It would be nice if the current month be at the middle location rather than the left most location.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 09, 2013, 08:08 PM
that's not possible as far as I know... it's using the Windoze calendar control... that one does all the stuff by itself... just give it some space and it'll do his best to show the calendar and is happy :P
Title: Re: T-Clock 2010 (download)
Post by: Curt on September 10, 2013, 12:28 AM
clicking T-Clock once will open the calendar, clicking it again while the calendar was open will just reopen it and not just close it as the default clock does.

-maybe the quoted text should be added to the download-post (336616 (https://www.donationcoder.com/forum/index.php?topic=21944.msg336616#msg336616)).

Title: Re: T-Clock 2010 (download)
Post by: char7 on September 10, 2013, 02:22 AM
so not even the context menu works? that's strange...
The clock is still there right xD?

Well... I didn't make any change that I know of that could have caused this...
So I need to ask you which OS (including 32/64 bit), where is your Taskbar located and does it happen all the time? (Win+L, then go back in again)
And it worked with Stoic Joker's and LonelyPixel's build (https://www.donationcoder.com/forum/index.php?topic=21944.msg325430#msg325430)?

Yes, both the calendar and the context menu did not appear after unlocking the desktop. I have to kill it using task manager to restart it. It did not work in LonelyPixel's build either. I did not test Stoic Joker's build because I switch to using Monitor Energy Saver to turn off the monitor. I used the 64 bit version in Windows 7 64bit (the 32 bit version runs but it did not change the clock). My taskbar is located in the bottom, using the small icon size. And it definitely reconstructible everytime.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 10, 2013, 08:10 AM
thanks char7 for that detailed report ;)
Hope I'm some when able to reproduce it myself (or someone else with time to test :P), otherwise it's hard to fix such thing.. (and sadly I'm not using 64bit^^)

clicking T-Clock once will open the calendar, clicking it again while the calendar was open will just reopen it and not just close it as the default clock does.

-maybe the quoted text should be added to the download-post (336616 (https://www.donationcoder.com/forum/index.php?topic=21944.msg336616#msg336616)).
ehm... why? xD Clicking once opens, clicking again hides as of now..

well there's a catch actually.. you shouldn't have a double-click action for your calendar key defined... in that case it'll open again even on single-click.. this is due to the time delay involved. And there's actually nothing that can be changed about it... except for some vodoo magic as using a bool to set a flag and once no double-click occurs in time and the single click would be executed, we'll just ignore it as the calendar already hid. That'll be ok and working :P
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on September 10, 2013, 08:49 AM
well there's a catch actually.. you shouldn't have a double-click action for your calendar key defined... in that case it'll open again even on single-click.. this is due to the time delay involved.

Um... actually you can. That's why I dropped the counter based 1, 2, 3, & 4 click code that was used in favor of the standard Windows API double/single click options. The system keeps track of the first click but doesn't respond to it until the is-this-a-double-click wait time expires (global system double click speed setting).

My calendar is set as the double click option as single click copies a code modified time date string to the clip board. Double clicking the clock doesn't copy the string to the clipboard...only a single click will.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 10, 2013, 01:53 PM
it's still counter based.. and that good ;) There's no need to use the Windoze API.. and actually that would break things.
To be able to hide the calendar, it's important to get the single-click asap. Once the double-click time is expired, it's to late.

So I had to fix the mouse stuff to execute the single-click asap (that part was there, but bugged...) It works in that way as it checks if there's a double-click defined or not and if not it executes the single-click right away.

And as I said... it still counts clicks.. but only supports 2 clicks (not 3,4 as the other T-Clocks do) but I may add that part again in case it's needed..
mouse.c -> OnMouseMsg()
Title: Re: T-Clock 2010 (download)
Post by: genl on October 03, 2013, 05:25 AM
Most likely this will be a problematic feature request...

Is it possible to mimic some of functionality of Longhorn clock? More specifically, there is an old app called LClock which does this but it doesn't work correctly on 7/8 and their x64 editions.

[ You are not allowed to view attachments ]

It's a clock made up of 3 elements, also
- Ability to set positions for each of secondary elements, e.g. "mm" and "AM/PM".
- Ability to choose different font size and style for each of 3 elements.
- Ability to choose between AM/PM and Day of the week/month as a third element.

Basically, I liked this app for its ability to display a huge enough font and enough valuable info without sacrificing much of tray bar width. Now, trying to have this functionality back on a newer OS, I can only find similar apps with multi-line functionality, which is pretty much useless for me.

Nevertheless, T-Clock's font smoothing looks best for me and it's working good under win8.1 x64. I'm glad seeing a project on GitHub, hoping it'll get more contributions. Thanks for keeping it alive!
Title: Re: T-Clock 2010 (download)
Post by: iorgu on November 21, 2013, 11:12 AM
Wow, i didn't expect to see the last post of this thread talk about what i miss the most, lclock!

As an xp + lclock user for many many years, i was forced to get with the times and move to windows7.

Now i'm striving to get my familar look and fell back. Lclock was a big part of that. I like the clock part of t-clock 2010, but the disappointing portion is the calendar!

Stoic Joker knows lclock very well, so i'm sad to see that the calendar part wasn't straigt up copy pasted from that! The look and functionality were so to the point, it was amazing. You left click the clock, the nice calendar comes up, double click any date and you get to set an alarm!

Stoic Joker, is there any chance to ever see a lclock skin for the calendar and quick acces to "new alarm" by double clicking a date in the calendar?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on November 21, 2013, 12:06 PM
Stoic Joker knows lclock very well, so i'm sad to see that the calendar part wasn't straigt up copy pasted from that! The look and functionality were so to the point, it was amazing. You left click the clock, the nice calendar comes up, double click any date and you get to set an alarm!

While I have heard of Lclock, I was never involved with the project...or its development.

I closed down the T-Clock project (an entirely different branch of which there were several off the original project) about a year ago, as windows seems to be moving away from the taskbar style UI - making a Taskbar Clock rather pointless - and because I just don't have the time to continue with it. I did however release the source code for T-Clock when I announced the project's closure in the hopes that someone would have the time to continue the project.

One of the other members here (LonelyPixel I believe) is responsible for the T-Clock GitHub repository. The code is there for all to use as they see fit. My only request is if someone creates a build containing features/fixes/tweaks/etc. that they remove my name from the program's name as it is no longer Stoic Joker's T-Clock ... It's [Your Name Here] T-Clock...and it should be labeled accordingly.
Title: Re: T-Clock 2010 (download)
Post by: Reporter on November 27, 2013, 11:41 AM
Hello.

How can I transfer the settings of T-Clock to another computer?

Thanks a lot.

 :)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on November 29, 2013, 09:14 AM
sry for this late reply...
You'll have to export T-Clocks settings yourself using RegEdit...
It's in: HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010

Or use those CMD files I've attached ;)

edit @ 07/03/2015:
removed attachment. Those batch files are quite outdated and actually don't properly work with UAC enabled (they export/import to/from C:\Windows\System32 if elevated later)
The attachment had 87 total downloads
Title: Re: T-Clock 2010 (download)
Post by: vergro on January 08, 2014, 06:32 PM
awesome app! and thank you for the date fix for WW number.  a lot of people in my office use this.
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on January 12, 2014, 05:02 PM
Hello, I was thinking of having a little Autoit version of the T-Clock here: http://www.autoitscript.com/forum/topic/157737-chnaging-the-taskbar-clock-format/ (http://www.autoitscript.com/forum/topic/157737-chnaging-the-taskbar-clock-format/) :D Please have a look at the questions posted there  :) I will appreciate if you have any tips to share ;)
Title: Re: The Extremely Unofficial T-Clock Page
Post by: DesElms on January 28, 2014, 09:13 PM
Back in 2009, when Stoic Joker's website was -- at least for me, using my AT&T DSL connection, using either AT&T's or OpenDNS's DNS servers -- only working about half-or-less the time, I, being such a fan of his version of T-Clock, created what I hoped, back then, would be an only temporary and very unofficial T-Clock page where people could, whenever Stoic Joker's site wasn't working, find a place to download his excellent T-Clock.

I posted about it in a few places, and it ended-up developing far too big a following, for my tastes; resulting in my kinda' not being able to take it down because it was appearing so high in search results, and also because people were finding it from old forum threads, and comments beneath articles about T-Clock, etc. And I told Stoic Joker about it; and it links to this forum thread, where I also posted about it; and it sings Stoic Joker's praises, yadda, yadda, yadda.

I still get an email or two or three per month, thanking me for having it; and I also get, as I got today, emails telling me that it's not working in Win8, and asking me if I know what to do. Today's email caused me to take a look at my server logs (which I rarely do), and I see that it's still getting a surprising number of hits and downloads each week; and all of that then caused me to update my page, today, to reflect the general state of things as I understand it from reading, here.

Of course, I wrote on that page that I can't provide support; and all I've ever done, there, really was simply explain how I use T-Clock (my settings and stuff), and that's it. When asked, today, how to make it work in Win8, I came here and read from around the middle of page 17 of this thread all the way to its end (at least as of this writing) here on page 21...

...all of which I then sorta' summarized as an update to my page regarding Win8, dated today, 28 January 2014.

It ultimately links everyone to this very spot in the forum thread, so that if anyone adds anything here about T-Clock, just generally, after my today's page update, those reading said page will know where to begin reading around here.

I'm just posting, here, that I updated my page, 'cause it's been a while since I've so done.

Here's my page:  http://www.greggdeselms.com/tclock.html (http://www.greggdeselms.com/tclock.html)

If anyone here sees any misinformation or anything that I should change/improve, please let me know.

Thank you, those of you who are trying to take the version 98 code and make it work in Win8.

And, Stoic Joker, we sure miss 'ya keeping T-Clock up to date. But as someone with pushing 40 years in IT, and who's within throwing distance of his 60th birthday, I know, better than most, how tired of this sort of thing one can get, and how short is life, and how it begins to dawn on one that one needs to carefully pick his projects, and then do other things with one's life before it's too late. Believe me, I get that! I just wish someone who's really skilled at this would just forget previous code and begin from scratch and build a new version that does everything yours does, and more; and which honors, on its "About" panel, your having taken T-Clock to such an amazing place!

Thank you!

Peace.

Gregg L. DesElms
Napa, California USA
gregg at greggdeselms dot com

Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on January 29, 2014, 08:19 AM
May I ask you what's wrong with Windows 8? I've tested T-Clock there and it was working fine^^
Actually my HD space is limited and my PC isn't the best as well, so I can't install Win8 on a virtual machine... all my testing was limited to remotely testing it on a friends machine.
So what doesn't work there?

I've also read your article (at least the updated stuff) and want to let you know that my "fork" as you've called (which isn't that wrong) doesn't currently use stuff from TClockLight kt... I've just thought about using its NTP stuff/tool since it's improved over T-Clocks. But never did so as of now ;)

Did Stoic Joker really talk about rewriting T-Clock? Sure there's stuff that has to be improved... but I see no real reason to rewrite it from scratch :P (I do so little by little ;)) One could improve the way it hooks into the clock, how the DLL and executable work together to further improve performance and stability on possible crash... but T-Clock is already light in RAM and CPU usage

PS: I'm still not done with T-Clock... for example one still wants proper TZN support, but I'm still kinda stuck there as there isn't just one unified timezone name per time offset... PST/PDT etc. for USA seems ok... same as UTC for England.. maybe even CET for "Central European Time"... but there are other countries beside some in Europe that use UTC+1 and it gets even worse going further east... There are multiple names for the same time offset... not easy to unify that for T-Clock... some will be happy, others not.
So if someone got a good timezone list with just 1 name per offset, I'll be happy :P (even though it cannot be done perfectly...)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on January 29, 2014, 12:22 PM
@Gregg DesElms - Thank you ... I do miss the project from time to time, but it's just not in the cards.

@WhiteTigX - I've not a clue what the latest builds do but it 95/98 had a habit of occasionally becoming unresponsive to mouse clicks (even directly after launch - but could be closed cleanly from the command line). It also jumps around quite a bit when the charms bar is opened. Seems like there was something else...but I don't recall what it was.
Title: Re: T-Clock 2010 (download)
Post by: x16wda on January 29, 2014, 06:08 PM
I haven't had any problem with build 95 plus the Posix dll on Win 8.  It also behaves well with the Charms bar.  Of course this is in Desktop... haven't visited the Metro for quite awhile...
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on January 30, 2014, 10:22 AM
I haven't had any problem with build 95 plus the Posix dll on Win 8. [...]
Does that mean without โ€œPosix dllโ€ there's a problem? Honestly... I don't even know what you've meant by โ€œPosix dllโ€...
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on January 30, 2014, 12:39 PM
Honestly... I don't even know what you've meant by โ€œPosix dllโ€...

I was curious about that one too ... You don't know either? Shit.
Title: Re: T-Clock 2010 (download)
Post by: x16wda on January 30, 2014, 06:54 PM
I was curious about that one too ... You don't know either? Shit.

Page 16 of this thread... here (https://www.donationcoder.com/forum/index.php?topic=21944.msg271713#msg271713)... c'mon, SJ, it was just a few years ago you posted that... :D
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on January 31, 2014, 06:58 AM
I was curious about that one too ... You don't know either? Shit.

Page 16 of this thread... here (https://www.donationcoder.com/forum/index.php?topic=21944.msg271713#msg271713)... c'mon, SJ, it was just a few years ago you posted that... :D

Oh...That posix (update) dll ... Christ I was thinking there was some new Posix.dll file running around. I gotta stay out of here ... I'm just starting to add to the confusion.
Title: Re: T-Clock 2010 (download)
Post by: x16wda on January 31, 2014, 09:23 PM
Well, my fault for not using the correct name, all I remembered was it was the dll that allowed the Posix epoch time display.  I'll promise not to lose sleep over it if you will.  (I have kids and it's on call week to boot so I have lots of other reasons to lose sleep.) :P
Title: Re: T-Clock 2010 (download)
Post by: GreenRiverAl on February 02, 2014, 10:14 AM
I just came across this new (since Vista/Win7) feature of the stock Windows tray-clock that I think would be a great addition to T-Clock:

How To Add Additional Clocks In Vista and Windows 7
http://www.guidingtech.com/1301/additional-clocks-windows-vista-7/

... when you hover your mouse over the current time display icon, you will see the current time in those two places too ...

If T-Clock could get a new WINCLOCKS formatting option, we could use this in the MouseOver Tooltip Text.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on February 02, 2014, 10:29 AM
That's already done ;) See here: https://www.donationcoder.com/forum/index.php?topic=21944.msg336616#msg336616
But it's no "formatting option" it's just using the original tool-tip and calendar :P
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on February 05, 2014, 01:12 PM
... So if someone got a good timezone list with just 1 name per offset, I'll be happy :P (even though it cannot be done perfectly...)

Is this list of any help: Microsoft Time Zone Index Values http://msdn.microsoft.com/en-us/library/ms912391%28v=winembedded.11%29.aspx (http://msdn.microsoft.com/en-us/library/ms912391%28v=winembedded.11%29.aspx)

Edit: The list below is tab delimited:
000   Dateline Standard Time   (GMT-12:00) International Date Line West
001   Samoa Standard Time   (GMT-11:00) Midway Island, Samoa
002   Hawaiian Standard Time   (GMT-10:00) Hawaii
003   Alaskan Standard Time   (GMT-09:00) Alaska
004   Pacific Standard Time   (GMT-08:00) Pacific Time (US and Canada); Mountain Time (US and Canada)
020   Central Standard Time   (GMT-06:00) Central Time (US and Canada
035   Eastern Standard Time   (GMT-05:00) Eastern Time (US and Canada)
050   Atlantic Standard Time   (GMT-04:00) Atlantic Time (Canada)
060   Newfoundland and Labrador Standard Time   (GMT-03:30) Newfoundland and Labrador
073   Greenland Standard Time   (GMT-03:00) Greenland
075   Mid-Atlantic Standard Time   (GMT-02:00) Mid-Atlantic
080   Azores Standard Time   (GMT-01:00) Azores
085   GMT Standard Time   (GMT) Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London
095   Central Europe Standard Time   (GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague
115   E. Europe Standard Time   (GMT+02:00) Bucharest
145   Russian Standard Time   (GMT+03:00) Moscow, St. Petersburg, Volgograd
160   Iran Standard Time   (GMT+03:30) Tehran
165   Arabian Standard Time   (GMT+04:00) Abu Dhabi, Muscat
175   Transitional Islamic State of Afghanistan Standard Time   (GMT+04:30) Kabul
185   West Asia Standard Time   (GMT+05:00) Islamabad, Karachi, Tashkent
190   India Standard Time   (GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi
193   Nepal Standard Time   (GMT+05:45) Kathmandu
195   Central Asia Standard Time   (GMT+06:00) Astana, Dhaka
203   Myanmar Standard Time   (GMT+06:30) Yangon Rangoon
207   North Asia Standard Time   (GMT+07:00) Krasnoyarsk
227   North Asia East Standard Time   (GMT+08:00) Irkutsk, Ulaanbaatar
235   Tokyo Standard Time   (GMT+09:00) Osaka, Sapporo, Tokyo
250   Cen. Australia Standard Time   (GMT+09:30) Adelaide
260   E. Australia Standard Time   (GMT+10:00) Brisbane
280   Central Pacific Standard Time   (GMT+11:00) Magadan, Solomon Islands, New Caledonia
290   New Zealand Standard Time   (GMT+12:00) Auckland, Wellington
300   Tonga Standard Time   (GMT+13:00) Nuku'alofa
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on February 06, 2014, 10:24 AM
actually I would use that list... not only because I'm not qualified enough to decide which country is of most importance from the timezone point of view, but also for it to at least work more or less... It can be improved later on...

But there are problems even with that list of yours... "Central Asia Standard Time" might not have a proper abbreviation.. maybe "CASIA" is ok in that case... maybe not :P (got that one from http://speleotrove.com/pmglobe/pmtimez.html )
The main problem with that list is for example "Dateline Standard Time" ... what's its abbreviation?

Here's the "adopted" list so far:
Code: C++ [Select]
  1. -12.00, ?/?             //Dateline Standard Time
  2. -11.00, SST/?           //Samoa Standard Time
  3. -10.00, HST/-           //Hawaiian Standard Time
  4. -09.00, AKST/AKDT               //Alaska Standard Time
  5. -08.00, PST/PDT         //Pacific Standard Time
  6. -06.00, CST/CDT         //Central Standard Time
  7. -05.00, EST/EDT         //Eastern Standard Time
  8. -04.00, AST/ADT         //Atlantic Standard Time
  9. -03.30, NST/NDT         //Newfoundland Standard Time
  10. -03.00, WGT/WGST                //West Greenland Time
  11. -02.00, /               //Mid-Atlantic Standard Time ??????????????
  12. -01.00, AZOT/AZOST              //Azores Time
  13. +-00.00, UTC/BST                //UTC (Coordinated Universal Time) and "British Summer Time" during summer
  14. +01.00, CET/CEST                //Central European Time
  15. +02.00, EET/EEST                //Eastern European Time
  16. +03.00, /               //Russian Standard Time ????????????????
  17.  
  18.  
  19. +03.30, /               //Iran Standard Time
  20. +04.00, /               //Arabian Standard Time
  21. +04.30, /               //Transitional Islamic State of Afghanistan Standard Time
  22. +05.00, /               //West Asia Standard Time
  23. +05.30, /               //India Standard Time
  24. +05.45, /               //Nepal Standard Time
  25. +06.00, /               //Central Asia Standard Time
  26. +06.30, /               //Myanmar Standard Time
  27. +07.00, /               //North Asia Standard Time
  28. +08.00, /               //North Asia East Standard Time
  29. +09.00, /               //Tokyo Standard Time
  30. +09.30, /               //Cen. Australia Standard Time
  31. +10.00, /               //E. Australia Standard Time
  32. +11.00, /               //Central Pacific Standard Time
  33. +12.00, /               //New Zealand Standard Time
  34. +13.00, /               //Tonga Standard Time
and as you can see, I tried to adopt it till "Russian Standard Time"... which is probably wrong anyway... as "Moscow Standard Time" time is +4... and I for myself would call that "Russian Standard Time" but +4 is already used...
"Mid-Atlantic Standard Time" doesn't really exist either... and I had to change some names...
http://www.timeanddate.com/library/abbreviations/timezones/ is more trustful in terms of "common" names...

Like I said before... a perfect list will never be possible... not only because a lot of countries use the same offset but got different names, but also because time zones change frequently... that's why the tz database (http://iana.org/time-zones) exists... and that one determines the timezone by country... and doesn't have that useful abbreviations... Besides T-Clock doesn't know the country, using that Database will also bloat T-Clock to much.

edit @ 05/28/14, some spelling fixes..
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on February 06, 2014, 12:29 PM
How about using GetTimeZoneInformation() function: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724421%28v=vs.85%29.aspx (http://msdn.microsoft.com/en-us/library/windows/desktop/ms724421%28v=vs.85%29.aspx)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on February 06, 2014, 04:39 PM
forget about M$ functions, they simply won't work.
In this case it's either returning an abbreviation or full name....
http://social.msdn.microsoft.com/Forums/vstudio/en-US/9034b38d-36f8-4204-afb7-6ca61523395b/gettimezoneinformation-cannot-return-correct-standardname
Title: Re: T-Clock 2010 (download)
Post by: apu889 on April 28, 2014, 12:28 PM
can someone fixing AntiAliasing/ClearType text on Windows 8.1?
it still works on 8, but not 8.1  :-\

(http://i.imgbox.com/WlI1qLMN.png) (http://imgbox.com/WlI1qLMN)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on April 28, 2014, 03:17 PM
guess it's not smooth enough for you? Have you tried other "Quality" settings? There isn't a best one actually.. some look better and others do not.. but this is from PC and OS to OS different... I use "... (Win7)" atm. but I don't necessarily have to.
Title: Re: T-Clock 2010 (download)
Post by: HR on May 28, 2014, 06:40 AM
Hi,

I used the fantastic T-Clock for years on my PC under XP professional 32bit. We now changed to Win7 enterprise 64bit. I downloaded TC2010 b.95, as well as some other modified versions mentioned here. But I could not get any of those to start, neither as std. user or localadmin. Clicking the .exe, nothing happens. No error message, nothing.

I could not find any hind on that here in the forum, so I ask the experts: what can be done to get a working T-Clock on my machine?

regards  Hans
Title: Re: T-Clock 2010 (download)
Post by: tomos on May 28, 2014, 08:07 AM
I used the fantastic T-Clock for years on my PC under XP professional 32bit. We now changed to Win7 enterprise 64bit. I downloaded TC2010 b.95, as well as some other modified versions mentioned here. But I could not get any of those to start, neither as std. user or localadmin. Clicking the .exe, nothing happens. No error message, nothing.

hi Hans,
I'm not the expert, but have you tried this one:
https://www.donationcoder.com/forum/index.php?topic=21944.msg336616#msg336616
(2.0.2.99 Thu Sep 05 19:39:24 2013)

I have it running on Win7 x64 pro since release. FWIW I dont remember having any problems setting it up...
Title: Re: T-Clock 2010 (download)
Post by: HR on May 28, 2014, 09:35 AM
Thanks, tomos!

I just tried your suggestion. This one also does nothing. Some of the others seem to install somehow, because afterwards there is an indication when I move the mouse pointer over the time display area, lower right corner. This can be removed by running "clock /exit" from the command line.
All of them can be started as "clock /prop"; then the TClock properties appear and I can configure them. But TClock is not responsive after that, left or right clicks don't let appear anything. Also, choosing "start with Windows" has no effect.  And the worst: the original calendar of Windows7 vanished :-(

Any one out there with an idea?

p.s. I run Win7 in german version
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on May 28, 2014, 09:42 AM
wanna try TeamViewer :P? I guess the solution is a simple one, but it might take lots of trial and error^^
we might also talk by using TeamSpeak, Steam or TeamViewer itself^^

Your German OS shouldn't matter btw.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on May 28, 2014, 04:41 PM
well... otherwise make sure you use the files inside the x64 folder.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 28, 2014, 10:41 PM
If you have been trying multiple versions to get something working there could be a configuration conflict in the registry (things have gotten moved from time to time). Try deleting the T-Clock info from the registry to get it to start clean and see if that makes a difference.

Also assuming you do have show the default windows clock enabled (it is a requirement), does the clock window totally disappear, or change size when you run T-Clock?
Title: Re: T-Clock 2010 (download)
Post by: schoolmeubel on June 03, 2014, 09:51 AM
Dear,

at the moment my x64 T-clock Build 98 week numbers do not show correctly, it shows week 22 but it is week 23 now.
The mini T-clock calender shows 23. How can I fix this?
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 03, 2014, 04:41 PM
there are actually 4 week "systems" build into T-Clock...
Ws : simple, week starts at Sunday
Wm : simple, week starts at Monday
Wi : complex, added by henriko.se and uses ISO-8601 standard
Ww : simple but custom from Stoic Joker

All show 22 except for Wi which shows 23
Title: Re: T-Clock 2010 (download)
Post by: trlkly on June 03, 2014, 08:11 PM
Stoic Joker, since you're still around, could you edit in a link to the latest version in the first post? I almost missed it, and was going to report a bug that has now been fixed.

I still have one other thing to report, however. It's a feature request more than anything. I would like to have a menu option and click option for pulling up the Alarm dialog. Right now, I use a workaround where I make sure the alarm is the last tab open when I use the Properties dialog, but an explicit Alarm option would be nice.

Even better would be if they could have a fold out option like the Timers do, listing all alarms.

Finally, I'd like a mouse-click option to set the time. Double clicking on the clock would let you set it back in XP, and I'd love to have that back. I figure that would be easy to code--otherwise I wouldn't ask, as it's so trivial. But that alarm clock thing would really be nice.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on June 03, 2014, 10:12 PM
Unfortunately I don't know what the latest build is these days. I stepped away from the project and released the source code about a year or so ago. There are several other people are working on it now (I think), but I don't know who is where on what. I just forget sometimes and comment here out of reflex.

If someone knows what the most current build is, I'll add it to the first post here, and also make a note of it on my website ... My inbox is still getting hammered about that week number bit.

@WhiteTigX - Did you or LonelyPixel have the latest build?
Title: Re: T-Clock 2010 (download)
Post by: trlkly on June 03, 2014, 11:43 PM
Unfortunately I don't know what the latest build is these days. I stepped away from the project and released the source code about a year or so ago. There are several other people are working on it now (I think), but I don't know who is where on what. I just forget sometimes and comment here out of reflex.

If someone knows what the most current build is, I'll add it to the first post here, and also make a note of it on my website ... My inbox is still getting hammered about that week number bit.

@WhiteTigX - Did you or LonelyPixel have the latest build?

Well, I was referring to WhiteTigX's version, which implemented using the Windows default calendar and fixed it where clicking again closes it. His version is linked here: https://www.donationcoder.com/forum/index.php?topic=21944.msg336616#msg336616

LonelyPixel's version is already in linked the first post, so I don' think you need to worry about that one.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 04, 2014, 03:50 AM
Stoic Joker, since you're still around, could you edit in a link to the latest version in the first post? I almost missed it, and was going to report a bug that has now been fixed.

[...]
it's not his fault actually :P He asked others for that already... including the "removal" of his name etc... I didn't do this as of now... my next release will fix that though, but hadn't a real reason to do anything yet :P No bug reports for example xD

But your requests should be doable :P

Will take a while though since I have to redo my Github repo... including readme.md, reverting it and using the "release" feature of Github... adding the binaries to the Git repo isn't good xD But didn't know any better back then...
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on June 04, 2014, 06:54 AM
Download of White Tiger's build now added to first post.
Title: Re: T-Clock 2010 (download)
Post by: schoolmeubel on June 05, 2014, 01:23 AM
there are actually 4 week "systems" build into T-Clock...
Ws : simple, week starts at Sunday
Wm : simple, week starts at Monday
Wi : complex, added by henriko.se and uses ISO-8601 standard
Ww : simple but custom from Stoic Joker

All show 22 except for Wi which shows 23
Thanks that did the trick, this wasn't in the manual Wi
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 05, 2014, 03:15 AM
well.. I'm planning on adding an extended editor for easier clock customization.. T-Clock is a nice piece of software, but for most people too hard to use. (a default configuration should also be added... so that is handles mouse clicks the same way as the default clock)

This extended editor includes live preview of what the modifier does (within the editor) but also a live preview on the tray clock itself... this especially helps with font settings, margins and that stuff.
But that's just what I want it to have.. I can't say how soon (if at all) I'm actually doing this :P It requires some rewrites and the dialog itself is a lot of work too^^
Title: Re: T-Clock 2010 (download)
Post by: trlkly on June 09, 2014, 04:52 PM
Well, since it's going to take a while, I guess I'll go ahead and report another bug, in case I forget. I don't use it, but the Custom Calendar option doesn't seem to open on Windows 7 64bit. I can open it manually by opening "XPCalender.exe," but it won't open from TClock.

Also, while I also already replied to WhiteTigx's message asking what the Set Time option does in XP, the message didn't show up in my outbox, so I'm posting here. As you guessed, it just opens the normal time set dialog, the same one opened by the right click menu item. Unfortunately UAC makes it still a bit different than in XP, but I don't think there's anything you can do about that.1

Ideally, what I would like is for every menu item to eventually2 be available in the Mouse tab. From a design standpoint, it just makes sense. The click options are quick shortcuts to the existing menu options.

1You're going to get some form of UAC prompt either way, since you must elevate to set the time. So you might as well stick with the way Windows handles it, where you only get the dialog if you try to change the time.

2As in, don't hold up a release for it! It's not that important.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 10, 2014, 03:25 AM
^^
About that Calendar "problem"... you had the options dialog open don't you? Yep it can't "open" in that case... well it does... but it closes right away when "Close Calendar on Lose Focus" is checked... reason being that the options dialog somehow keeps focus... dunno what to do about it...

And yes, I've received your PM... when you've meant this less describing one :P
Yeah, that's all it does. So all you'd really need to do is add that "set time" feature to the mouse actions tab.
Title: T-Clock 2010 -- background color?
Post by: stanislay33 on June 18, 2014, 04:51 AM
Hi,

I used the great T-Clock 1.42 for years under XP Pro x86 as shown in the snapshot (running under virtual machine in this case). My favourite setup was text in black with yellow background.

Now I'm running T-Clock 2010 x64 b98 in Windows 7 SP1 X64 Ultimate but apparently there is only the setting for the Clock Text color under the Properties, not the background tray color.

(http://i.imgur.com/8cxALzt.jpg)

How to get the same black/ yellow combination, please?

Regards,
Stanislay
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 18, 2014, 03:15 PM
New release ;) Lots of changes and bug fixes, see Github front page
sadly I had to recreate the Github repository... it's a bad thing to do so, but there were binary files that shouldn't have been there and some authors weren't credited... This IS the last and only recreate of that kind, I promise ;)

See: https://github.com/White-Tiger/T-Clock
Downloads: https://github.com/White-Tiger/T-Clock/releases

Please take your time and test it... I did.. but changed so much that it's hard to be sure if everything still works xD I guess it does... but a re-check doesn't hurt ;)
Also please speak about my Github front page, I wanna hear your responses about it 8) (and the "new" name)

@trlkly:
this should include everything you've wanted ;) Please test and report back :P

@Stoic Joker:
please check about screen and tell if you're happy with it^^
You can also see at my Github that the first commit's Author is you now ;)
Could you adapt the topic according? Add my download links by pointing to my Github releases page, and also put my Github page where you've got the other one.

@stanislay33:
not sure if I will ever add that... but you're right, T-Clock doesn't include such a feature...
I'm not totally against it... but do you really like/need it? Isn't the transition with the task-bar way better :P?
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 18, 2014, 03:21 PM
*woops* (didn't mean to post this post, the above one is right though ;))
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on June 18, 2014, 04:44 PM
please check about screen and tell if you're happy with it^^

You can also see at my Github that the first commit's Author is you now ;)
Could you adapt the topic according? Add my download links by pointing to my Github releases page, and also put my Github page where you've got the other one.

Links updated.

Only thing on the About screen that's a bit of a problem is I didn't get it running on XP (e.g. with the then new Themes) Two_toNe did. My main contribution to T-Clock's history was creation of the first 64-bit build of it.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 18, 2014, 04:51 PM
well... the history in it is still the same... with my little addition at the end...

There isn't that much space actually.. so I'll either have to add scrollbars, shorten the text or leave it the way it is^^
I might remove the "Redux" text as well... You really want Two_toNe there?

How about the Stoic Joker icon btw ;) Is it ok? I personally like the darken color.. but it's your Logo after all..
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on June 18, 2014, 05:53 PM
well... the history in it is still the same... with my little addition at the end...

Hm... Looks like a wrapping issue then. I just poked through the source for my old build 95 to see where/what could have happened and IIRC that string was modified at compile time to read differently on the 32 and 64 bit builds. Since I can't even figure out where I hid the changes - That's probable the issue.

There isn't that much space actually.. so I'll either have to add scrollbars, shorten the text or leave it the way it is^^
I might remove the "Redux" text as well... You really want Two_toNe there?

Without Two_toNe's code the XP theme support would not have happened on my watch. So it's only fair that he be properly mentioned.

(Space) LOL ...You don't what to know how many time I had to resize and restructure the controls for those dialogs to get everything to fit. :)

The line was supposed to read... Shit ... I remember now! The text in the .rc file was only a design time filler for the dialog editor. It gets replaced when compiled with the text in the tclock.h file (relevant code is below).

For x64:
#define ABT_ME "T-Clock 2010 x64 is my rewrite of their code which allows it to run on Windows XP, Vista, && 7 x64 Editions. While I have removed some of T-Clock's previous functionality. I feel this makes it a more \"Administrator Friendly\" application as it no longer requires elevated privileges to run."

For x86:
#define ABT_ME "T-Clock 2010 is my rewrite of their code which allows it to run on Windows 7, Vista, XP, && 2000. While I have removed some of T-Clock's previous functionality. I feel this makes it a more \"Administrator Friendly\" application as it no longer requires elevated privileges to run."

My intention was to acknowledge the removal of Win 9x support - it had to go to get the x64 code to compile - and the addition of some touchups to smooth out Vista & 7 operation.

If you have to shorten it that's fine, the permissions reduction doesn't really stand out much these days (it's kind of required/assumed). So just cut me back to the x64 XP/Vista/7 and x86 Vista/7 compatibility, and save the rest of the space for own updates.


How about the Stoic Joker icon btw ;) Is it ok? I personally like the darken color.. but it's your Logo after all..

Sorry, I forgot to mention that earlier...it does look rather nice. Seriously, I might save a copy to use later if it's ok with you. TBH I actually received a few complaints about the old one being ugly as hell.

But at this point I think that spot would be better served with a copy of that White Tiger logo you have on the GitHub page. ;)

I do appreciate the acknowledgement, but it's your project now ... Go ahead and claim it. :D

Stoic Joker
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 18, 2014, 08:02 PM
well I have no real logo :P And the one in the about screen now is just the one you use as an avatar here... I've screwed it up a little as I tried to get the background transparent... that's the result xD
It's not even as perfect as I'd like it to be...

The "code" you've posted doesn't mention "Two_toNe" at all... actually it's the same in my version... I've attached a screen how it "should" look like:
(http://img819.imageshack.us/img819/792/20xr.th.png) (http://img819.imageshack.us/img819/792/20xr.png)

hmm... needed my own screen shot to see that "Two_toNe" is actually mentioned xD That's the part with T-Clock2^^
Title: Re: T-Clock 2010 (download)
Post by: trlkly on June 18, 2014, 08:35 PM
Everything you did seems to work. But I didn't notice an actual menu item for the alarm clock, neither in the options nor the default menu. Being able to use a click option is fine, but I think a menu item would be good, too. And a fold out menu listing all defined alarms--similar to the Timers menu--would be amazing.

Something I didn't mention before: It's not obvious how to create a new menu item in the "Menu Item Details" tab. It might be a good idea to add a "New Menu Item" button. I just now figure out that I have to start from the "Quicky Menu Items" tab.

Not trying to put a downer on all your work, BTW. It's pretty cool! I wouldn't have said anything, except you asked if I got everything I wanted.
Title: Re: T-Clock 2010 (download)
Post by: mouser on June 18, 2014, 09:44 PM
I just want to say how great it is to see continued development and maintenance of t-clock.  :up:
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 19, 2014, 03:35 AM
[...] I think a menu item would be good, too. And a fold out menu listing all defined alarms--similar to the Timers menu--would be amazing.
... oh boy... I thought you just wanted a mouse click option for that one :P I don't actually like to bloat the menu too much... it would require a rewrite to be able to activate and disable all of them if someone wants to.. (with the Exit menu item at least available by holding down SHIFT or CTRL)
What do you want that "fold out menu" to have or behave like? Right now it would still be the same as the properties page...

All that "Alarms" and "Timers" stuff isn't that user friendly... nor easy to understand...
Alarms should for example also work on a specific date... chosen by a date picker control or something like that.

Something I didn't mention before: It's not obvious how to create a new menu item in the "Menu Item Details" tab. It might be a good idea to add a "New Menu Item" button. I just now figure out that I have to start from the "Quicky Menu Items" tab.
[...]
... while I like to improve usability like I did with the mouse tab... I hate to rewrite those dialogs xD Besides I can't see how it could be better... Unless you want to draw me and example :P

P.S. I know bugs related to the Calendar already :P Didn't work out on XP as I thought^^ Nor is the focus thing fully working.. (that one worked in all my tests before...)
Title: Re: T-Clock 2010 (download)
Post by: trlkly on June 19, 2014, 05:55 AM
The fold out menu would be modeled on the one for T-Clock Timers. There would be an "Add/Edit Alarms" menu item at the top, and a list of alarms at the bottom.

The difference would be that all defined alarms would show, not just active ones, but active ones would have a checkmark on them. Clicking on any alarm menu item would toggle alarm activation.

As for the dialog that would open when you clicked "Add/Edit Alarms," it could very well be the Alarms tab. But if you wanted to change it, I would probably take everything in the top section and make it a new dialog. Setting chimes could be another separate dialog.

Putting all this together, the menu would look like this:

T-Clock Alarms >
    Add/Edit Alarms
    Hourly Chimes
    -----------------
    Alarm 1        โœ“
    Alarm 2
    Alarm 3        โœ“


As for how the Menu Items tab would be better, I can see what you mean that it would be hard to just to add a button to the existing dialog. So I'll just mockup a complete remake that would, in my opinion, be much more user friendly. It looks a lot like what I've seen in most programs that give you options like this.

Menu Items tab in Preferences:

(http://s11.postimg.org/9p03x168z/T_Clock_Menu_Items_options_mockup.png) (http://postimage.org/)

Menu Items edit dialog (opens on top of properties dialog when you click Add or Edit):

(http://s11.postimg.org/3msh6jhsz/T_Clock_Menu_Item_Properities_dialog_mockup.png) (http://postimage.org/)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on June 19, 2014, 06:54 AM
@ WhiteTigX  - Make frequent backups, and do not do any testing on the development machine (use a VM) if you tackle that code. The arrays are touchy as hell, resources have to be defined within certain ranges, and anything it doesn't like will result in a missing menu/shell crash.

^That^ is half the reason that T-Clock has an exit command line option ... which didn't always save me (hence the VM recommendation).

I'm available if you get stuck.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 19, 2014, 11:37 AM
@Stoic Joker
I've partially rewrote all that menu items stuff already :P Simplified lots of it and got rid of some resources as well... I've also reordered resources.. and nothing happened, it's still working ;)
But I've added notes about defines that have to be in order...
Take a look at this source (https://github.com/White-Tiger/T-Clock/blob/yg-master/Source/Clock/resource.h) to see which notes I mean ;)

Otherwise I've once killed the exit T-Clock function completely^^ Had to kill explorer xD So no need for VM... everything is good ;)

P.S. here you can also see that the menu items position isn't relevant anymore nor hardcoded, they can be reordered within the resource file as wanted without breaking a thing:
https://github.com/White-Tiger/T-Clock/commit/a4c75663f8c7c5df7801e5e1158714510615cbfd#diff-df6ba8f879548fc288c74d59fb868e42L33

edit:
@trlkly
well... I don't really think those buttons are needed... you didn't change other stuff besides that.. "non-existing" menu items could include a dummy text.. such as "double-click to add new" or something... Or a context menu on right click... (while also allowing keyboard such as DEL, UP/DOWN and RETURN^^)

The popup for editing could be included into the properties window as well... not another tab, but it could overwrite the "Menu Items" tab ;)
Non the less... I would rather like a fully customizable menu... thus the possibility to remove every single item, reorder them etc... Similar to the "Mouse" tab..
Title: Re: T-Clock 2010 (download)
Post by: trlkly on June 19, 2014, 02:47 PM
Those buttons are very necessary as it is otherwise completely opaque to the user that double clicking on some list will do anything. That is just not the way UIs normally work. I only discovered that double clicking worked by accident yesterday when I was writing the complaint. I was actually going to report that the custom menu option was broken, because I couldn't figure out how to work it. That's how unintuitive the current arrangement is.

The buttons not only make it very clear to the user what they do, but also are standard on pretty much any list I've ever seen where you can add, edit, and delete entries. Right-click menus would just once again hide features from the users.

And I've never seen a tab becoming overwritten. If you have to because of resource restrictions, fine, but it would be a really strange experience. A popout modal dialog box is how this usually works.

But, ultimately, my main point is that, if you want to make something more user friendly, you can't hide the basic features from the user. If you want to let them edit menu items, you have to make that feature front and center.

I don't need any of these changes, as I've figured it out. But I am trying help you with the goal you stated--to make the menu dialog more user friendly.
Title: Re: T-Clock 2010 (download)
Post by: iorgu on June 19, 2014, 05:28 PM
Hi, WhiteTigX. Would you consider doing a Lclock calendar "clone" for our beloved clock?

Pictures are in the first two post on page 21.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on June 19, 2014, 05:35 PM
well... I don't really think those buttons are needed... you didn't change other stuff besides that.. "non-existing" menu items could include a dummy text.. such as "double-click to add new" or something... Or a context menu on right click...

Quick-N-Dirty compromise might just be to change the group box text from "Add Menu Item" to Add Menu Item (Double Click to Add or Edit).

Honestly as far as ListView controls go double clicking to trigger the default action has always been a rather common behavior in any application I've ever encountered. *Shrug* So after having been there for 10 years it now has 1 complaint ...:-\... It's up to you man. :)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 19, 2014, 06:46 PM
Hi, WhiteTigX. Would you consider doing a Lclock calendar "clone" for our beloved clock?

Pictures are in the first two post on page 21.
I've seen that... considering "LClock", my highest priority would be to add similar clock text customizations... my lowest priority whatsoever would be the Calendar^^
It's just tons of work to add even a basic one barely similar to that of LClock.. Skin support for example is a lot of work...
T-Clocks current Calendar drives me nuts already xD It's not working the way I want it to...
Title: Re: T-Clock 2010 (download)
Post by: trlkly on June 19, 2014, 10:52 PM
well... I don't really think those buttons are needed... you didn't change other stuff besides that.. "non-existing" menu items could include a dummy text.. such as "double-click to add new" or something... Or a context menu on right click...

Quick-N-Dirty compromise might just be to change the group box text from "Add Menu Item" to Add Menu Item (Double Click to Add or Edit).

Honestly as far as ListView controls go double clicking to trigger the default action has always been a rather common behavior in any application I've ever encountered. *Shrug* So after having been there for 10 years it now has 1 complaint ...:-\... It's up to you man. :)

Double click to use the default action. That means there's always another, more easily discovered way to do it. And Add/Edit/Delete buttons extremely standard, to the point that I haven't encounter an editable list that doesn't have them (even if they are in the form of icons like an X and a + sign). I cannot think of any example.

Plus, there's just the fact that there's a ton of whitespace over there, taking up space for no reason. Why not make that whitespace functional? I didn't have to move a thing to fit those buttons in. If you didn't have room for the buttons, I could understand making a different choice.

And I would guess that you haven't had any complaints because most people don't use the feature. People who want T-clock generally aren't looking for a program launcher. They are looking for a replacement clock. Program launching is a nice feature if you find it, but not in any way essential.

All of that said, a compromise of indicating the double click feature in any way would be nice, if not ideal. It would at least make it discoverable. The way I'd do it is to both add "(double-click to edit)" to the top, and put a dummy "Add new item" entry at the bottom of the list. But it would still be good to be able to delete directly from the list, and not have to open the edit dialog, and I'm not sure what you would do about all that extra whitespace.

And, no matter what you do, I think the Menu Item Details tab is not so great. It doesn't work like a tab--you can't use it separately from the Quicky Menus tab. It's what made me think the program launcher feature was completely broken. Remember, this is a hack of a hack--the idea that some things may be broken is built in.

BTW, if you really want to get user friendly, you need an installer. There are so many people I would recommend this software to, except they would not know how to install it. The portable version is nice, but a fully installed version would be nice, too.

Heck, if you want, I might work on it--assuming my illness doesn't get in the way of doing work again.
Title: Re: T-Clock 2010 (download)
Post by: mouser on June 20, 2014, 12:10 AM
BTW, if you really want to get user friendly, you need an installer. There are so many people I would recommend this software to, except they would not know how to install it. The portable version is nice, but a fully installed version would be nice, too.


If the t-clock coders (WhiteTigX/stoic joker/etc) want, I have an inno setup (http://www.jrsoftware.org/isinfo.php) installer script I use to build my DonationCoder apps that could be used if desired, in quick order and I'd be happy to provide the script customized for T-Clock.  The other option would be for me to build the installer version and host the download at DonationCoder -- the only real advantages of that would be 1) if there are bandwidth issues, and 2) i would be able to sign the installer with DonationCoder official code signing certificate, for authenticity.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on June 20, 2014, 06:48 AM
Remember, this is a hack of a hack--the idea that some things may be broken is built in.

I'm going to go out on a limb here and assume that you are unaware of the fact that I designed said interface, and wrote the code for it...so a modicum of tact would be appreciated. Even if it is your wish to imply that you have some sort of insight into what I was thinking at the time of its writing.

-------------------------------------------

@mouser - While I've never been a fan of installes for this type of small program, it is one of the most common requests regarding T-Clock that I received over the years. It is a kind offer, but the decision is up to WhiteTigX - I really am trying to stay the hell out of here - so as not to become a total pain in the ass - but it's the damn force of habit ... I just seem to keep gravitating back.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 20, 2014, 12:20 PM
[...] While I've never been a fan of installes for this type of small program, [...]
I generally hate installers :P
Maybe... once T-Clock's file structure and hooking etc. gets a rewrite, I might as well add a hybrid installer... It will ask whether to "install" or use portable on first launch... (including an install/uninstall button inside the about page)
Title: Re: T-Clock 2010 (download)
Post by: mouser on June 20, 2014, 12:24 PM
I might as well add a hybrid installer

I used to use a single zip-compatible installer for my apps, for quite some time.  I can tell you that the switch to 2 separate downloads, one a standard installer, and one a simple zip file, made things cleaner and less troublesome.  Especially with regard to download problems and code signing stuff.  So I recommend having two separate downloads.
Title: Re: T-Clock 2010 Missing background traybar color
Post by: stanislay33 on July 02, 2014, 05:08 AM


@stanislay33:
not sure if I will ever add that... but you're right, T-Clock doesn't include such a feature...
I'm not totally against it... but do you really like/need it? Isn't the transition with the task-bar way better :P?

Regarding my original post with screenshots at:
https://www.donationcoder.com/forum/index.php?topic=21944.msg357498#msg357498

@WhiteTigX: Unfortunately some of us suffers of impairments with eyes about color detections; you may call is daltonism, i.e color blindness for general or specific combination of colors.
Black over Yellow is much easier to catch than Blue over Grey but for other people the choice could be different and subjective.

So I am simply here to kindle remember that restoring/implementing that T-Clock original selectable background color traybar feature would be greatly appreciated.

Thank you! --

(http://i.imgur.com/nl9snbr.jpg)
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on July 04, 2014, 08:29 PM
Thanks everybody, specially WhiteTigX for resurrecting the development of this magnificent piece of software. There is one item in my wish list: Using option TZN (Time Zone Name) it always shows PDT, no matter what the computer time zone is set to :(

Title: Re: T-Clock 2010 (download)
Post by: MilesAhead on July 04, 2014, 09:13 PM
Nice software.  Just what I was looking for.   :Thmbsup:
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on July 12, 2014, 04:26 PM
I just noticed that WhiteTigX has incorporated my previous request regarding the calendar and now I can set the current month to be in the middle position in a three months calendar, for which I thank him. However, if I change the month using those little left/right triangles on the calendar window, and then I click on "Today:" text at the bottom left corner, it wouldn't put the current month in the middle.

Also, when using those little triangles to go to a different month, I see that the first date of a month is always automatically selected. I think that is a bit confusing and I suggest no date be pre-selected while navigating through months.

Edit: I mean when opening the calendar, Today's date be pre-selected, and then when navigating between months, the last selected date be preserved :)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 13, 2014, 06:39 PM
that's just the controls default behavior... not much to do about it..
It's also not easy and kinda hacky to handle a click on the "today" link/button...
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on July 15, 2014, 05:22 PM
I have noticed that through Tclock, custom calendar will not open if TClock has been running for a few hours. Custom calendar will run if TClock has just been started.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 16, 2014, 12:58 PM
I hope you're tried to open it without the options dialog opened... but ye.. there are a lot of bugs xD Some XP related... and generally a focus problem...
What ever is the cause, the Calendar should always work when "close on lose focus" isn't checked.
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on July 16, 2014, 07:05 PM
Yes, this happens even when options dialog is not open, and "close on lose focus" isn't checked. I think it is because of Windows 8.1 and the way it does the high DPI setting. I tried disabling display scaling for Clock.exe and it seems to work just fine now :)

I also tried to move the calendar window a bit low and to the right to remove the gaps, but it doesn't retain the window location :(
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 17, 2014, 05:28 AM
well... the Calendar isn't part of Clock.exe and I never had any issue with my Win8.1
But what did you mean with "high DPI setting" and why should that prevent the Calendar from opening?
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on July 17, 2014, 07:47 AM
If you go to Control Panel for Display, then you can set the display scaling to 125%. Then you can right click on an exe file, get Properties and then go to Compatibility tab and select "Disable display scaling on high DPI settings". I have seen some programs misbehave at high DPI settings as they receive the scaled location of the mouse pointer from Windows 8.1 while the program is not high DPI aware.
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on July 18, 2014, 09:40 AM
I tried disabling display scaling for Clock.exe and it seems to work just fine now :)
-power1power1 (July 16, 2014, 07:05 PM)

Well, I think I spoke too early: Upon future testing, the calendar doesn't come up after a couple of hours runing of Clock.exe, even with disabling display scaling :(
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 18, 2014, 11:39 AM
Did I ask already what happens when you execute "Calendar.exe" manually? (with the 64bit version first if your OS is 64bit, try the 32bit version after that)
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on July 19, 2014, 12:15 PM
OK, this bug happened again and now I can say: While, the calendar doesn't open through Tclock, both 64bit and 32bit versions, can open manually.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 19, 2014, 01:59 PM
sounds very strange^^ How do you open the calendar btw? You may also try to use middle mouse button or button 4 or 5^^
I don't know why T-Clock shouldn't be able to execute the calendar... the "hide on lose focus" feature could explain it because it can indeed close the calendar fast enough that you wouldn't even notice.. but you've said it's not related...
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on July 20, 2014, 12:28 PM
I usually use left mouse single click. I added middle mouse single click rule and both wouldn't work after a couple of hours.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 20, 2014, 01:36 PM
well.. without "Close calendar on lose focus" checked, it should work^^ That's the only thing I know about that can and "will" cause this... Otherwise I can't reproduce that...
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on July 22, 2014, 09:33 PM
Have used T-clock on Windows 7 and I think back on Vista.  I just put it on a Windows 8.1 machine and am having some difficulty.

I state right up front that I have Classic Shell and a theme in to make the laptop usable--the theme required to change taskbar text from white (completely unreadable for me) to black.

My Tclock problem is that it does not even show (though it is there unless I select white or a few of the other colors--which all render in white.  Black, maroon, etc produce NOTHING at all--but right click brings up tclock menu--so it is there, just not showing.

I love tclock (donated to Stoic and Donation Coder when I first started using it), but cannot see the white rendering (taskbar is a light grayish blue), and that is all I can get.

Atch shows the lower right corner.
[ You are not allowed to view attachments ]
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 23, 2014, 04:32 AM
I know about this problem and will fix that soon.. (a few weeks though... same for the Calendar problems)
And it's not entirely true that black produces nothing.. well in fact it produces pure transparency xD Everything else is also a bit transparent.. (that's why colors aren't bright), only white might be fully opaque.

The problem isn't an easy fix though... if T-Clock were to use the Windows theme font and color... it would be fine, but no way to adjust the font or color... it will render the same as the original clock then...
The current function used to render text needs to be replaced completely.. GDI doesn't handle transparency well :P So we might have to use GDI+

So I guess I will add a new option... to use theme settings using DrawThemeText or use our custom stuff via GDI+ functions or something like that... Default would be to use DrawThemeText then...

Technical stuff about it:
Windows Vista+ supports the use of full transparency without using layered windows. For this a Windows needs to be a WS_POPUP window... you can then draw in WM_PAINT with full transparency... while GDI doesn't know about transparency and sets the alpha bit to 0 (full transparent)... For compatibility reasons, Windows handles the fact and sometimes still shows stuff when alpha is set to 0 but color isn't black... GDI+ what so ever supports the alpha bit and could be used... same for functions like DrawThemeText which is used by Microsoft on the original clock.

Win < 8 seems to handle it slightly different than 8... while WS_POPUP works the same.. Anyway, 8 got some improvements on handling drawing and that like, that's one reasons why you can't disable aero anymore. It's not necessary :P
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on July 23, 2014, 08:28 AM
Ah, thanks very much for that explanation.
Can I bribe you to put it way high on your todo list (I really miss having the date there)?  :)

From a personal standpoint, I will be happy so long as I can have black and get it to be large (eyesight issues).

Oh, an aside...I found that you can do some adjusting within Windows 8.1 in the Region>Additional Settings>[Time | Date]. Wonder who put time adjustments in the 'Region' dialog?

But time and date are completely separate--you cannot make the display into one string.  I tried to do "d-MM, h:mm tt" in the time spec (since with the narrow bar, all I see is the time showing), but it would not accept date specs in the Time tab.  So all I can get is the time to show, due to having the narrowest taskbar, which causes date to not show.  It is in unreadably small size anyway, so even if date were there naturally, I could not read it easily.

I also wonder if they copied Tclock.  I wonder because of the "tt' to include AM pr PM.  "tt" does not seem to be an intuitive variable spec.

Lastly, where do I watch to see when the modified version is posted?

Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 23, 2014, 01:24 PM
Normally I will post a reply here... I might also start to do that with all "major" changes...
Otherwise I'll do it at least as an answer to a bug report or feature request posted here.

You could also watch the Github page... I also thought about integrating a update checker into T-Clock itself.. will probably not happen though xD

And nope.. you can't bribe me for that.. sry... currently busy with other stuff and changing T-Clock in that regards might also take some time... sry about that. What color does your windows clock use btw? Is it still white or also black?
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on July 23, 2014, 03:35 PM
...What color does your windows clock use btw? Is it still white or also black?

Black and tiny size.  But that is due to theme I installed (uxstyle and employing Aero 8.1 Rounded Default from deviantart)...to eliminate the WHITE font hard coded by Redmond in Windows 8.1. with no inside OS way to change it. Not sure the size is style controlled--if it is, I sure wish I knew how to edit it.

That's the two problems even using the style: Although I got the black color, all taskbar font is balck but tiny, and I cannot see the date part unless I use the double height taskbar; no to that.
Title: Re: T-Clock 2010 (download)
Post by: crumpuppet on August 15, 2014, 06:28 AM
Hey everyone, I've got a question about T-Clock 2010. Is there a way to programmatically refresh it? Perhaps a DLL call I can do which will mimic the action that happens when clicking the "Refresh T-Clock" option from the context menu.

To make a long story short, I want to inject my own bit of custom code into the CustomFormat registry key, and refresh it every couple of minutes.

thanks :)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 15, 2014, 07:33 AM
you could send the CLOCKM_REFRESHCLOCK message used internally.. it's defined as WM_USER+1
Send that to the child-window with class "TrayClockWClass" and you'll be fine I guess...

Otherwise.. sending IDM_REFRESHTCLOCK (285) as a WM_COMMAND to TClock's main window with class "TClockMainClass" should also work
like so:
Code: C++ [Select]
  1. SendMessage(FindWindowA("TClockMainClass","TClock"),WM_COMMAND,IDM_REFRESHTCLOCK,0);
Title: Re: T-Clock 2010 (download)
Post by: crumpuppet on August 18, 2014, 06:49 AM
Oh yeah this looks like the kind of stuff I need. Unfortunately I'm not having any joy though. I'm a bit of a newbie when it comes to this kind of thing, so I tried plugging in those commands in every possible way, but no dice.

I'm sending the commands using AutoIT, with the following code:

Code: AutoIt [Select]
  1. $hWnd = WinGetHandle ('[Class:TClockMainClass]')
  2. $result = _SendMessage ($hWnd, $WM_COMMAND, 285, 0)

$hWnd does get populated with the handle of the class, but the _SendMessage command doesn't refresh TClock. My test is changing the value of the "CustomFormat" and "Format" keys in the registry.

I've also tried sending this command using test apps (like this (http://stefanstools.sourceforge.net/SendMessage.html)) with the same effect.

Any idea where I'm going wrong?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on August 18, 2014, 07:03 AM
I think that's the wrong window to send the command to. Here is the part of the code that T-Clock uses to refresh itself:

Code: C++ [Select]
  1. void RefreshUs(void) {
  2.         HWND hwndBar, hwndChild;
  3.         char classname[80];
  4.  
  5.   hwndBar = FindWindow("Shell_TrayWnd", NULL);
  6.  
  7.         // find the clock window
  8.   hwndChild = GetWindow(hwndBar, GW_CHILD);
  9.   while(hwndChild) {
  10.                 GetClassName(hwndChild, classname, 80);
  11.                 if(lstrcmpi(classname, "TrayNotifyWnd") == 0) {
  12.                    hwndChild = GetWindow(hwndChild, GW_CHILD);
  13.                    while(hwndChild) {
  14.                                  GetClassName(hwndChild, classname, 80);
  15.                                  if(lstrcmpi(classname, "TrayClockWClass") == 0) {
  16.                                         SendMessage(hwndChild, CLOCKM_REFRESHCLOCK, 0, 0);
  17.                                         SendMessage(hwndChild, CLOCKM_REFRESHTASKBAR, 0, 0);
  18.                                         break;
  19.                                  }
  20.                    } break;
  21.                 }
  22.           hwndChild = GetWindow(hwndChild, GW_HWNDNEXT);
  23.   }
  24. }

You have to grab the parent, and then walk into the child IIRC.
Title: Re: T-Clock 2010 (download)
Post by: crumpuppet on August 18, 2014, 09:03 AM
I think I may have fried my brain trying to get this to work. I'll just have to face the fact that I'm scratching where I shouldn't :)

I found a UDF that helps finding child window handles, but it doesn't matter which handle I send the message to it just doesn't refresh. Even showing a list of all current windows and their handles and sending the message directly to the static handle of the TClock window still doesn't refresh.

Thanks for the help anyway!
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 18, 2014, 11:48 AM
should work^^
Code: AutoIt [Select]
  1. #Include <WinAPI.au3>
  2. const $WM_COMMAND=0x0111;
  3. const $IDM_SHOWPROP=282;
  4. const $IDM_REFRESHTCLOCK=285;
  5. _SendMessage(WinGetHandle('[CLASS:TClockMainClass;TITLE:TClock]'),$WM_COMMAND,$IDM_REFRESHTCLOCK,0);
you could also try to use _WinAPI_PostMessage but both should actually work.
Also.. if this doesn't work, try IDM_SHOWPROP instead of IDM_REFRESHTCLOCK. The former should open options.
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on August 21, 2014, 05:12 PM
Yes, it works. Thank you!
Title: Re: T-Clock 2010 (download)
Post by: mixza-81 on August 22, 2014, 01:01 PM
There is something weird in T-Clock (Redux v2.1.0 build 57)...

When Custom Format is: h:nn
Output is: 20:37
--> That's correct time.

When Custom Format is: h:nn @@@
Output is: 21:37 @775
--> There is something wrong in this time... Clock shows one hour more that it is.

When Custom Format is: @@@
Output is: 775

Has anybody other noticed this?
What could cause this?
My timezone is UTZ+02:00

Edit: Fixed some errors in text
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 27, 2014, 06:06 PM
sry for my late reply... never got an email about new posts :tellme:

@power1power1
what was your "Yes, it works" related to?

@mixza-81
thanks for finding out this regression, will release a hotfix tomorrow/today.
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on August 27, 2014, 08:05 PM
I was referring to post #589 and saying that the piece of code there worked for me for which I thank you very much.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 28, 2014, 03:41 AM
you didn't even ask for that code xD
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on August 28, 2014, 06:04 AM
Yes, I didn't know such thing would be possible else I would have asked about it :) I guess I have to thank crumpuppet for asking it, as well :)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 03, 2014, 06:27 PM
well... I've told you (mixza-81) about a "hotfix" coming "tomorrow/today" and we wrote the 28th of August... well guess I'm "slightly" off :P
Problem wasn't the fix itself, actually that was done already at the time I wrote that post before.

It's because I don't think a hotfix alone is worth it, so I decided to take some time and do more... I had to look at the code anyway so why not do some more while I'm still used to it?

And so it happened to be a week.. or almost a week...

In the next few days (I hope not more then 1-2) I will put a new version on-line, but because of all the changes and unforeseen consequences, it'll be tagged as "beta" (as opposed to my previous "release candidates".. who never reached "release" status :P)

Upcoming improvements and fixes include those reported by:
stanislay33 (http://donationcoder.com/forum/index.php?topic=21944.msg357498#msg357498)
trlkly (http://donationcoder.com/forum/index.php?topic=21944.msg357569#msg357569)
movrshakr (http://donationcoder.com/forum/index.php?topic=21944.msg360136#msg360136)
mixza-81 (besides his reported regression, also one related to colors fixed^^ hope it's the last of that kind, it certainly wasn't the first)

The clock will behave and look even more like the default clock on at least Win8 (guess actually Vista+)
T-Clock should also be able to run again on 2000... though only tested on Win8 and XP (UxTheme isn't mandatory now but loaded if available)
Calendar also receives some fixes... but probably not the focus bug as I've tried to fix it before and couldn't (and Stoic Joker tried before me. I just made it worse thinking it's fixed^^ Well it was fixed.. but only if the clock wasn't running for a few minutes :P) Maybe I'll find it out anyway.. but I will only invest up to one day trying to fix the calendar focus stuff... but why not using the system's inbuilt calender, it's better anyway 8)


When the beta is out, I would like you all to test it thoughtfully because it's hard to track functionality if you're rewriting a lot and having problems with something not working right for days and trying to figure out what's wrong until you'll completely loose track and mess everything up^^ So stuff tested a day before might be broke the other day :-\
You WILL notice differences... and probably not all of them in a good manner... Basically you can start to re customize your clock from scratch because the clock is now smarter itself ;) So all your offsets and clock sizes go nuts. The clock should now stay centered at all times as long as all clock size and position values are set to zero (0) It should even more or less detect the correct color to use and also keep it on track.

TL;DR : well.. then don't ;)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 11, 2014, 01:00 PM
So there it is finally ;) Version 2.2.0#84
https://github.com/White-Tiger/T-Clock/releases/tag/v2.2.0%2384-beta

I've also added multi-monitor support on Win8+ As requested by Baegus here: https://github.com/dg9ngf/T-Clock/issues/2

As said, this one is a beta now, it should be stable since I've tested it, but I might have overlooked one or two things... A fix for the calendar isn't really included though... will have to look at it sometime later :P
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on September 11, 2014, 02:17 PM
Installed in Windows 8.1, and got a block from the OS.. See image
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on September 11, 2014, 02:20 PM
Wait... The MORE button in that window lets you run it anyway.  I did and it seems to install  AND I HAVE BLACK TEXT....YAHOO!

LATER--worked with it a few minutes and I LOVE it.  Now can see it in Windows 8.1.


Question: the three selectable black colors that have writing in them...what are the differences between them?
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 11, 2014, 02:26 PM
Installed in Windows 8.1, and got a block from the OS.. See image
Well.. I don't know how to get rid of that SmartScreen^^ Basicaly the only way I know is to pay a few hundred dollars to M$ and sign the app^^
But I thought it only shows this for manipulated apps... apps that once had a cert attached but not anymore^^
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on September 11, 2014, 02:49 PM
I've also added multi-monitor support on Win8+ As requested by Baegus here: https://github.com/dg9ngf/T-Clock/issues/2

Okay, now that's a neat trick. :)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 11, 2014, 03:28 PM
I just hope there are no drawbacks^^
I had a lot of trouble with it to keep everything in sync^^ And you can't really use taskbars of different sizes or positions... (though that's for performance reasons... could be added later on)

Otherwise, performance wise it shouldn't really make a difference yet... though most stuff sadly open on the primary monitor...

Stoic, you're using Win8 and you've got multiple monitors?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on September 11, 2014, 03:55 PM
Stoic, you're using Win8 and you've got multiple monitors?

8.1 Pro with 2 widescreen monitors, and taskbar buttons showing on the screen where the window is open. There's a clock with a working Context menu on both. Now regardless of which one I click the properties/calendar dialog always shows up over the (main screen) left one...but that's a fairly minor quirk.
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on September 11, 2014, 04:48 PM
Hurray, wait is over! Thank you, specially for the multi monitor thing :) Works fine on Windows 8.1 with dual monitor. There is one minor thing: Somehow, on my setup, the second taskbar is a few pixels lower than the taskbar on the main monitor. So, the buttom of the clock text is closer to the edge of the display on the second monitor compared to the main monitor. It would be nice if we could adjust the clock text positions seperately.
Any idea on when you plan to release the next version? no rush though :)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 11, 2014, 05:05 PM
[...] So, the buttom of the clock text is closer to the edge of the display on the second monitor compared to the main monitor. It would be nice if we could adjust the clock text positions seperately. [...]
Well... I've thought about that as well... but the problem is that the current version basically only renders one clock... same content is then used (copied) for secondary clocks (and all secondary clocks actually use the same DC, so it's really only copied once)
So it's not possible to have these clocks independent.. though I can add that quite easy as well.. it would only require some more functions, not really that much more processing power if not used...

Though my question is: why is your second taskbar smaller? Even though I've used the lowest resolution possible for my tests and my main monitor is at 1080p, the taskbar looked the same...

I was actually hoping to disable my 2nd fake monitor xD It's annoying when my mouse leaves the screen on one side when I play a game^^

P.S. a tip for developers not having a multi-mon setup, just force Windows to enable a 2nd monitor and use Open Broadcaster to live-preview it's content on your primary monitor :P This way you can work with your 2nd monitor on your 1st in real time^^ Is kinda energy waste though, but works quite good ;)
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on September 11, 2014, 05:34 PM
Both my monitors have the same resolution ... After more investigation, it seems the taskbar on my main monitor is a bit taller because I am using large icons in that taskbar. I wish I could prevent that. Any suggestions?
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 11, 2014, 06:06 PM
using the same sized taskbar on both monitors isn't an option? So either all with small icons, or all with large?
Well... you could change the clock height from 0 to 1 or -1 .. it won't resize the clock to the taskbar as the size is then relative to the text height and thus "fixed". Kinda the old behavior and the clock on your main taskbar wouldn't be centered but aligned to the top and the other one as well (might look like it's centered depending on size)

But to have them all look the same and to be centered, all taskbars must be the same... though it doesn't matter if one is at the top and the other on the bottom... as long as the size is similar.

Again, I might add the ability to use independent clocks.. (will be fully then, also different font etc.) But adding the necessary settings needs some time... also the memory usage will increase as well as CPU usage (mostly only if used, using mirrored clocks or only one will stay mostly the same)
You can still disable all additional clocks xD
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on September 11, 2014, 07:40 PM
I am using the same height (rows) for both taskbars. Only since I am using large icons for a toolbar in the main taskbar, I get the main taskbar a few pixels taller than than the taskbar in the second monitor. The problem would be solved if I could manually set the taskbar height in the registry or somewhere. I googled and it seems there is no such option to set the height :( In any case, having the clock on both taskbars are a great feature :) Thank you!
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on September 11, 2014, 07:48 PM
OK, I would like to report a bug: If I disconnect the second monitor and reconnect it, the second clock disappears. I can rstore it using the method mentioned in post #589 though.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 12, 2014, 03:36 AM
Not a bug, it's intended :P And to refresh the clock isn't that hard of a task^^

I do not plan to try to detect monitor changes.

P.S. in my first version you even had to restart T-Clock xD Luckily I decided not to start such things^^ As everything else can be applied on the fly^^
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on September 12, 2014, 08:37 AM
Just a quick feature request: Please add "T-Clock Calendar" to the right click menu (below T-Clock Timers).
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 12, 2014, 05:34 PM
the calendar is already included into the quicky launch menu....
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on September 12, 2014, 06:11 PM
Well, I don't see a Quicky Menu. I added XPCalendar.exe in T-Clock Properties --> Quicky Menues --> Custom Quicky Items, to no avail.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 12, 2014, 06:19 PM
you have to enable it as well^^ Though it's called "Quicky Launch Menu"^^
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on September 12, 2014, 06:39 PM
OK, found it! Thanks. Still, I think it would be more efficient (i.e. less number of clicks) if T-Clock Calendar was below T-Clock Timers.
Now, I also see some menu items like Cascade Windows, etc. which are not related to T-Clock, so they can go in a sub-menu instead.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 13, 2014, 02:55 AM
"Cascade windows", etc. can definitely not go into a submenu ;) Those are Windows default, and thus should also be present in T-Clock^^ (by means, the original clock had them, so they are indeed related to the "tray clock")

I can't change the menu yet, not without an ability to customize it fully. Because otherwise people used to the old one would be lost. And even if I decide to put the Calendar there, it needs to be removable since the menu shouldn't be bloated with useless stuff^^
Everything below "Task Manager" is T-Clock specific, it's quite a lot already :P

It's also to consider to move exit,properties and refresh into a submenu.. I hope no one uses them frequently :P
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on September 13, 2014, 10:04 AM
Power, at one point you advocate for fewer clicks, then you say to put some things in a submenu--which would add clicks!
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on September 13, 2014, 11:19 AM
@movrshakr: Yes, the difference is between TColck and non-TClock related items.
@WhiteTigX: Now, I see why those Windows related items are there. However; I think each version of Windows have them differently. For example, I don't have Minimize all Windows when I right click on Windows 8.1 taskbar. Personaly, I have never used T-Clock menu to run Windows Explorer or Empty Recycle Bin, etc.
Any ways, as a workaround for calendar-not-appearing issue, now I have added a new entry in the Quickys and with this I always can run the calendar.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 13, 2014, 11:33 AM
The "Quickies" should have the Calendar included^^ It's there by default...

Though, the calendar should show no matter what settings you use now... I've temporarily disabled the auto-hide feature on startup...
If you're using my beta, and it still disappears, it must be a different issue..

And yes, "Minimize all" isn't currently used by Windows.. at least not on Win8... but it fits there quite good ;)
"Toggle desktop" is also different, as it's originally named "Show desktop" or "Hide desktop" depending on what the current state is.. it's not easy to find that out, so I've simply named it "Toggle"^^
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on September 13, 2014, 12:00 PM
I am using the latest TClock version and I still have the issue with the calendar; there are occations that single left click, double left click and the original entry in Quickys menu won't bring up the calendar, but a custom entry would.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 15, 2014, 10:56 AM
[...]
Question: the three selectable black colors that have writing in them...what are the differences between them?
Oops.. didn't see that question... those are system colors... means they are dynamic, depending on your Windows style. (on 8 you might only notice that when changing to a high contrast theme or using a custom made theme)
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on September 15, 2014, 10:59 AM
[...]
Question: the three selectable black colors that have writing in them...what are the differences between them?
Oops.. didn't see that question... those are system colors... means they aren't fix but dynamic depending on your Windows style. (on 8 you might only notice that when changing to a high contrast theme or using a custom made theme)

Still a bit confused; don't see how a 'black' can be a dynamic color--or do you mean sometimes it is NOT black as the system decides it "shouldn't be?"
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 15, 2014, 12:52 PM
Yes, those colors are dynamic.. they don't have any specific color... currently it's black for you, but if you change to a high contrast theme, it's probably not black anymore but white, greenish, etc.

The text on the color choice is simply the name Windows uses for them^^
"INFOTEXT" is the color of all your tooltip texts,
"INFOBK" is the color of all your tooltip backgrounds. Depending on your current theme/settings.
Title: Re: T-Clock 2010 (download)
Post by: Cowichan on September 19, 2014, 08:48 PM
I've downloaded T-Clock 2010, extracted the files, opened the TClock application, clicked run and...nothing...I can't find it installed anywhere. It's not on any list of installed programs.

When I tried deleting the extracted folders it says I can't because the folder or file in it is open in another program.

I'm completely flummoxed. If anyone has a suggestion as to what I should try please let me know.

Thanks
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 20, 2014, 04:42 AM
I've downloaded T-Clock 2010, extracted the files, opened the TClock application, clicked run and...nothing...I can't find it installed anywhere. It's not on any list of installed programs.

When I tried deleting the extracted folders it says I can't because the folder or file in it is open in another program.

I'm completely flummoxed. If anyone has a suggestion as to what I should try please let me know.

Thanks
I guess you're running a 64bit version of Windows, but you've started the clock in the Win32 folder.... you need to run the one in the x64 folder...

Though the 32bit clock now runs in the background and easiest way for you is either to restart Windows, or kill the "Clock.exe" process using Taskmanager..

Sry about that. I will sometime redesign the folder structure so there's just one exe for both^^
Title: Re: T-Clock 2010 (download)
Post by: Cowichan on September 20, 2014, 08:47 PM
Got it, thanks.

It was my own dumb fault. This is a new machine my son-in-law built for me.  I'm still figuring out what it is I'm driving.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on September 21, 2014, 12:04 PM
Another stumble I encountered at first is that, for T-clock to run on every boot, I had to manually create a shortcut in the correct startup folder to the clock.exe in the right folder (32 or 64 bit).

Is that normal?
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 21, 2014, 12:08 PM
did you know about the "Run at startup" option you'll find at the about screen?
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on September 21, 2014, 02:07 PM
did you know about the "Run at startup" option you'll find at the about screen?
Obviously not.  Now I do.  :)

Never have seen such on an "About" page.  
May I suggest being on the Miscellaneous tab?  
Not a biggie though.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 21, 2014, 03:39 PM
the about page is the first page to popup if you open options :P
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on September 21, 2014, 03:42 PM
the about page is the first page to popup if you open options :P
That doesn't mean we READ it.
(I've seldom found useful info there on most programs except when I needed to get a version number.)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 21, 2014, 03:45 PM
Do you think it would be enough to increase the font size and maybe also color it red,green or blue and open the about screen / options automatically on first launch?

Thing is.. I don't want to overload the misc tab :P otherwise it gets lost again... It's nice to have it inside the about screen if you know it :P
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on September 21, 2014, 03:49 PM
Do you think it would be enough to increase the font size and maybe also color it red,green or blue and open the about screen / options automatically on first launch? Thing is.. I don't want to overload the misc tab :P otherwise it gets lost again... It's nice to have it inside the about screen if you know it :P

Yes, although just larger, bold, black would be OK.

This isn't a huge issue.  I am a nitpicker (read: engineer). :)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 30, 2014, 11:10 AM
hey guys, I just want to know if you've got the "Annoying Dialog" while first switching from previous version to my beta posted 19 days ago.
The dialog about updating settings, etc... some one mailed me and he didn't know which dialog I've meant... Actually it should popup on first launch because I've changed the way some settings are saved.. so running an older version after the new one might corrupt settings or at least causes them to get lost.

No one complained about that dialog, so I'm not sure if you've all got it or not :P You should have... but who knows^^
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on September 30, 2014, 01:51 PM
I got the Dialog, alright. I didn't update the settings, though. I deleted TClock registry entries and set up fresh.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 30, 2014, 02:49 PM
the "update" itself doesn't harm.. you could have allowed that... it wasn't even a major change xD
None of them should harm.. as long as you don't want to use an old version later...
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on September 30, 2014, 03:57 PM
I got the dialog on first run, let it do its thing, and the clock was blank. Fiddled with the settings for a bit, but the display - while it was the right size/position - stayed blank.

I assumed it was just a conflict with some cruft left over from a test build...so I deleted the key and it ran fine.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 30, 2014, 04:37 PM
Stoic Joker, how dare you to not send me an export if your settings xD ... could have been a major problem...
Though none of the changes were related or should be related to the clock format...

Anyway.. what kind of test build are you talking about? Your own or mine? I though you were using my version before...

P.S. by "blank" you really mean it? Please go to options and change font color to transparent, did it look exactly like that?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on September 30, 2014, 05:09 PM
Stoic Joker, how dare you to not send me an export if your settings xD ... could have been a major problem...

Oops... Sorry, I actually just assumed the issue was on my end.


Though none of the changes were related or should be related to the clock format...

O_o Okay, that is weird.


Anyway.. what kind of test build are you talking about? Your own or mine? I though you were using my version before...

Yours, Mine, LonelyPixel's, and some other stuff that may/may not be relevant. Honestly I don't remember if it was the home or office machine it happened on ... But both have been used for testing in the past.

P.S. by "blank" you really mean it? Please go to options and change font color to transparent, did it look exactly like that?

Text was completely not visible, and any attempt I made at getting it to appear failed. But the window size/shape implied that the format was intact, it just was the same color as the background.


Time - as usual - is not my friend...but I can try to reproduce the issue if it will help. But if nobody else reports that type of odd behavior...it was probably just me.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 30, 2014, 06:02 PM
No need to try to reproduce it ;) It's ok... more or less... I might recheck one or two things and maybe I'll find something. If not, someone else might find it as time passes.
Title: Re: T-Clock 2010 (download)
Post by: Maxi07 on October 10, 2014, 09:07 PM
I can't get this to work with Win 8.1 ... Any Ideas..??

Steve
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on October 10, 2014, 10:20 PM
try the latest version :P
https://github.com/White-Tiger/T-Clock/releases/tag/v2.3.0%23127-beta

P.S. it's really a new version ;)
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on October 11, 2014, 12:59 AM
Thanks for the new version. Seems to work OK on Windows 8.1 here. It is just the right click menu that always opens on main display. Calendar opens on the correct display (where mouse pointer is).
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on October 11, 2014, 07:26 AM
weird... the context menu was never an issue for me... at least not when I've tested it :P

Is it possible that your 2nd monitor (or at least the one you've tested it with) is on the left of your primary? In this case, I could reproduce it... damn Windows API functions xD

edit: now fixed in trunk: https://github.com/White-Tiger/T-Clock/commit/1934fbcbd465b419f3104ddd4fb3f8d967a25f51
Though I'll wait a few hours before releasing it because of other possible issues, such as Clock doesn't even start on movrshakr's Win8.1
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on October 11, 2014, 08:10 AM
Yes, my second display is at left side. Thanks for fixing the bug.
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on October 12, 2014, 07:47 PM
Well, it seems no body is complaning about any thing else :) So, is it time to release the fixed version now?
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on October 12, 2014, 07:51 PM
no :P
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on October 13, 2014, 10:43 PM
Here you go, the "bugfix" release...
https://github.com/White-Tiger/T-Clock/releases/tag/v2.3.1%23133-beta

I'm also experimenting with self-signing and testing out what happens with it xD I hope the SmartScreen won't get worse because of it... though I'm not really sure that it will get better..
Title: Re: T-Clock 2010 (download)
Post by: power1power1 on October 14, 2014, 05:59 AM
Thank you! High-DPI awareness is a nice addition. In this version, I think the behaviour of mouse-over tooltip is different somehow:
if not enabled: always shows on main display (I think this is the Windows tooltip)
if enabled: for the second display clock, it shows the tooltip on top side of main display.

Q: What is the difference between static and non static ones? Both distributions have dll files ...
Title: Re: T-Clock 2010 (download)
Post by: Gebar on October 14, 2014, 05:23 PM
Hi! First, thank you for this amazing program!!!  :D

A question: Would it be easy for you to allow two instances of the program to run simultaneously?

The reason I want this is that then you could have one instance display the time in big numbers, and next to it the other instance display the date again in big letters. That way you would have both date and time in a single line taskbar with small icons, without it being crowded

Or you could have the same effect with one instance of the program running if, except for the \n code to go to the line underneath, you had a different code to go to the next "column", so that you would have the date display on the right of the time (or vice-versa depending on how you arrange your custom format).

But thanks again anyway.
Title: Re: T-Clock 2010 (download)
Post by: paul_ray on October 14, 2014, 05:29 PM
I don't know if there are plans to use the "GetTickCount64" function instead of the "GetTickCount" function in getting the uptime but it would be nice.

The new function does not have the 49.7 day limit.
It is supported starting with Vista.
(It does not require 64 bit OS).

GetTickCount64 MSDN (http://msdn.microsoft.com/en-us/library/windows/desktop/ms724411(v=vs.85).aspx)
Title: Re: T-Clock 2010 (download)
Post by: paul_ray on October 14, 2014, 05:29 PM
Are there plans to use Environment variables for the display?
I would like to use the "COMPUTERNAME" variable in my display format, so I don't have to hard code the machine name.

This makes it easier for support when I need to know the computer name.
Title: Re: T-Clock 2010 (download)
Post by: trlkly on October 23, 2014, 05:15 PM
WhiteTigX, the third to last PM I sent you (about a method of sharpening the text) didn't get a reply, though the second to last one did. My outbox wasn't sent directly, so I'm not sure if you got it?

Also, how do you say your username? I say White Tiggex, like Tigger but with ex at the end. But I could also see it being like tiger, hence White Tie-gex.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on October 27, 2014, 06:21 PM
[...] In this version, I think the behaviour of mouse-over tooltip is different somehow:
if not enabled: always shows on main display (I think this is the Windows tooltip)
if enabled: for the second display clock, it shows the tooltip on top side of main display.
I've found no way to control the default tooltip.. so for "full" multimon support, a custom tooltip must be used. Though that one had a design flaw xD Will be fixed...

Q: What is the difference between static and non static ones? Both distributions have dll files ...
Well the static version doesn't require external dependencies... so no need to install Visual C++ Runtimes.
Was basically a test to see what happens...



[...]
A question: Would it be easy for you to allow two instances of the program to run simultaneously?
[...]
Sry not possible I suppose. Though, I don't really get your reason for that... from what you've described, left and right "clock" will display the same font, use the same size and both are single line... so where's your problem exactly?



I don't know if there are plans to use the "GetTickCount64" function instead of the "GetTickCount" function in getting the uptime but it would be nice.[...]
Will be used in next version. Though 32bit users or pre-Vista might not like it xD A bit slower in that case... (from a CPU cycle perspective, probably not very noticeable)

Are there plans to use Environment variables for the display?
[...]
Not really... Environment variables are mostly static.. so there's not much use for such a feature. Besides your rare use case of course...



[...]
Also, how do you say your username? I say White Tiggex, like Tigger but with ex at the end. But I could also see it being like tiger, hence White Tie-gex.
Well... your first guess is ok I guess.. though "WhiteTigX" is only a workaround for not being able to use "White-Tiger". Just ignore the name here :P Still need to figure out a unique name... And of course I did receive your mails.. though I've got reasons not to answer them (apart from the fact that I named my point already, but still, nothing is fix)
Title: Re: T-Clock 2010 (download)
Post by: trlkly on October 27, 2014, 10:20 PM
And of course I did receive your mails.. though I've got reasons not to answer them (apart from the fact that I named my point already, but still, nothing is fix)

Well, I was just expecting you to say something like "I'll look into that" or "Sorry, that won't work," as that's what you've done before. Plus, since I couldn't see it in my outbox, I thought maybe I didn't actually send it. I've done that before.

I just thought it might help with the problem you mentioned of the text being blurrier than you'd like. I thought maybe you could run a normal bitmap sharpening filter over it before rendering. It might be a bit slower, but you only have to update once a second anyways.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on November 05, 2014, 06:27 PM
New version released : https://github.com/White-Tiger/T-Clock/releases/tag/v2.3.2%23151-beta
It's a bug fix release for the v2.3 series but also adds some alarm related improvements and more

I still wonder why so few people reported problems... or most of you simply reboot Windows often as well as having a non-crashing explorer and never using T-Clock's alarm feature...
Title: Re: T-Clock 2010 (download)
Post by: Mark56 on November 09, 2014, 08:43 AM

Hi WhiteTigX

I'm trying to have two clocks showing both local time in 12H, and UTC time in 24H (in this case UTC-06) like so:

Sun, 03:30 PM
Sun, 21:30 UTC

I've tried doing "ddd, hh:nn tt\n ddd, w+06:nn UTC"  but both clocks are still 12H.
 
Is there a way to get only the second clock to show the 24H format?

Thanks!
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on November 09, 2014, 09:57 AM
Hi Mark56,
sry currently there's no way... 12h setting is "global"^^
I'm not even sure if I will implement a feature like this before the major formatting revamp :P Though I have no schedule for that one as well. (not that I have one generally)

Also, even if there where a way, "ddd" will still show the weekday based on your local time^^ There's no format yet to change the timezone or offset yet.
Title: Re: T-Clock 2010 (download)
Post by: Mark56 on November 09, 2014, 10:32 AM
oh ok, no problem! I'll keep an eye on the next versions anyway. Thanks.
Title: Re: T-Clock 2010 (download)
Post by: B00ze on November 12, 2014, 08:07 PM
Good day.

Discovered t-Clock and derivatives tonight, researching someone mentioning the tool on a usenet forum. Nice tool - I dont know how often I've moused over the clock in the Systray waiting for the toolTip to show up, so I could know what date it was (obviously I use a 1-Line high toolbar).

Installed T-Clock Redux v2.3.2ฮฒ and played with it; discovered a "bug?" @ least on my Win7 system:

Selecting "Display Properties" in the context menu brings-up the Screen Saver dialog, NOT the screen properties (the later which Win7 calls the "Screen Resolution" choice on desktop-background-right-click)...

Now I haven't rebooted or anything (I never really reboot) but I did try the menu item several times always with the same result...

Anyone else see this behavior?

Thank you.
Best Regards,
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on November 12, 2014, 08:22 PM
[...]
Anyone else see this behavior?
[...]
me, the current developer :P
Will investigate if it's a regression or Vista+ compatibility issue^^ (by means, also opens "Screen Saver" on my Win8)

Though "Display Properties" is flawed by design since Vista+ I guess^^ There's no such thing anymore (at least hard to reach on Win8)
Title: Re: T-Clock 2010 (download)
Post by: B00ze on November 12, 2014, 08:59 PM
[...]
Anyone else see this behavior?
[...]
me, the current developer :P
Will investigate if it's a regression or Vista+ compatibility issue^^ (by means, also opens "Screen Saver" on my Win8)
Though "Display Properties" is flawed by design since Vista+ I guess^^ There's no such thing anymore (at least hard to reach on Win8)

Thanks for the quick response, I appreciate all that you and Stoic Joker have done, this little tool is really neat!

I agree, since Vista, there is no single Display Properties as there was in Xp.

One observation: Why are the DLLs and the XpCalendar in a sub-folder called MISC? Just dump'em in the root folder - since there is no installer, it is ever so slightly confusing if they are needed or not (since the WAVES folder is clearly not required, one might ask if the MISC folder is also not needed). What should go in the MISC folder is the Digital-7 font. Just my 2 cents ;-)

Best Regards.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on November 13, 2014, 01:33 PM
[...]
I agree, since Vista, there is no single Display Properties as there was in Xp.
what do you suggest? Remove it on Vista+, Rename it to "Personalize" on Vista+ and open that one?
Not sure what to do with it right now :P

Why are the DLLs and the XpCalendar in a sub-folder called MISC? [...]
To simplify things^^ So you'll see a clean folder structure with just 2 exes to run. And any of them is ok. Before that, people had trouble to find the right exe to run^^
I generally prefer apps with just one exe at all. But that wouldn't work with T-Clock, in fact I'll add more later.
And generally: all files are required, and of course the folder structure must stay intact. (not sure why you even tried to mess with it, won't work in 99% anyway)

For the same reason (simplicity) I didn't put "Digital-7" into misc, it's not really a part of T-Clock, nor required. And it's in the root folder for people to acknowledge and maybe even install because they like it. In "misc" no one will ever see it exists^^ And since it's not an executable, it doesn't confuse people when it stays in the root folder
Title: Re: T-Clock 2010 (download)
Post by: B00ze on November 13, 2014, 05:45 PM
Hi White Tiger.

what do you suggest? Remove it on Vista+, Rename it to "Personalize" on Vista+ and open that one?

Are you able to open "Control Panel -> Display" ? That's the one in Win7 that starts with Text Size, but it has all the other display options on the left, like Screen Resolution, Personalize (at the bottom) etc...

As for MISC, we just think differently on what goes into miscellaneous; to me it's things that are not needed that go there :-)

Thank you.
Best Regards,
Title: Re: T-Clock 2010 (download)
Post by: trlkly on November 14, 2014, 06:48 AM
As for MISC, we just think differently on what goes into miscellaneous; to me it's things that are not needed that go there :-)

I don't disagree. I just never paid attention to the folder structure before. The word MISC does imply "extra." Considering its contents, I might suggest using "libs" as the name.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on November 14, 2014, 07:31 AM
It really is "misc" :P Couldn't call it libs because there are other files as well. (and later will take files like "Options.exe", "Sync.exe" and what else)
More like "system".. but those aren't system files.. nor for Windows, nor really for T-Clock because the Calendar isn't required in every case.

It's miscellaneous, some required DLL's, some non required files and what else comes in the future^^ Would even put the readme there, but then it's never going to be read xD
But ye, "system" was my first name I got for it... just didn't sound nice and kind of bad.. (or "sys")
"system" sound to me like it's messing with Windows or something like that :P "files" or "bin" is also a bad name... so I liked "misc" xD

But anyway, folder won't be renamed as it would just cause too much trouble not worth the "benefits", if there where any anyway^^


About "Control Panel -> Display" well.. isn't really "Display Properties" either... "Personalize" would be the closed to the old "Display Properties" on XP... not only is it what people tried to reach, it's also the exact same page :P IIRC on XP "Display Properties" was also a menu entry if clicked on the desktop like it is for Win8 with "Personalize"
Title: Re: T-Clock 2010 (download)
Post by: crumpuppet on November 14, 2014, 08:11 AM
Man I don't know why I didn't keep an eye on this thread! Your last update fixed my request from August 15th. I can now refresh the clock with AutoIT using the WM_COMMAND call, and my custom clock is working perfectly :)

I wrote a bit of code to create a "rounded down" clock, showing the time in Afrikaans and rounded to the nearest 5 minutes. So for example, if it is anything between 4 and 6 minutes after the hour, it will display "vyf oor vier."; anything close to 20 minutes past will show "twintig oor ...". For some reason I find I process the time much better like this, I have it on my phone as well using Tasker.

Here it is:
(http://i.imgur.com/cwT5oO0.png)

The app builds the text, changes the registry key, and runs the WM_COMMAND. It is executed by Windows Task Scheduler every 3 minutes, and it runs in a few milliseconds, with no real performance hit. I guess you could put any custom text in here using this method, but I love this one :)

I also love that it now shows the native Windows calendar when you click the clock.

Thanks WhiteTigX!!!
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on November 14, 2014, 10:21 AM
[...] Your last update fixed my request from August 15th. [...]
This same "request" was already fixed before you've even requested it^^ No update had to do with it^^

side note: just noticed I've actually posted the 666th post, evil me :P (my previous post)
(https://www.donationcoder.com/forum/esmileys/gen3/5Large/TFR1E0.gif)
Title: Re: T-Clock 2010 (download)
Post by: B00ze on November 14, 2014, 06:01 PM
Good day.

About "Control Panel -> Display" well.. isn't really "Display Properties" either... "Personalize" would be the closed to the old "Display Properties" on XP... not only is it what people tried to reach, it's also the exact same page tongue IIRC on XP "Display Properties" was also a menu entry if clicked on the desktop like it is for Win8 with "Personalize"

Personalize does not have a link to Screen Resolution, or monitor disposition, which is what I was always trying to reach when I did Display Properties in WinXp. Annoying that it's now 3 different panels, lol. You can pick "Personalize" if you want, it does have a link do "Display" (bottom left) with which you can reach Screen Resolution by clicking yet another link on the left...

Best Regards,
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on November 14, 2014, 06:52 PM
ok.... will exec ::{26EE0668-A00A-44D7-9371-BEB064C98683}\1\::{C555438B-3C23-4769-A71F-B6D3D9B6053A} I guess
Title: Re: T-Clock 2010 (download)
Post by: paul_ray on November 16, 2014, 04:30 PM
Thank you WhiteTigX, for adding "GetTickCount64" in the 2.3.2 version.

Also, thank you for concerning the request for adding in environment variables.
Maybe sometime in the future.
Title: Re: T-Clock 2010 (download)
Post by: mixza-81 on November 25, 2014, 11:51 AM
Hi.

How about support for current week number in clock Time Format?
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on November 25, 2014, 12:26 PM
mixza-81, what's your problem with it?
Hope you've read the T-Clock Help.rtf :P

edit: fixed spelling mistake^^
Title: Re: T-Clock 2010 (download)
Post by: mixza-81 on November 25, 2014, 02:20 PM
Sorry,
I totally missed that... I only noticed that Time Format tab has not checkbox for that option... :-[
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on November 25, 2014, 03:23 PM
Sorry,
I totally missed that... I only noticed that Time Format tab has not checkbox for that option... :-[
Not your fault ;) Next releases will have a note on that^^
Title: Re: T-Clock 2010 (download)
Post by: 21944.450 on January 14, 2015, 08:31 PM
In the Time Format, the time difference (http://homepage1.nifty.com/kazubon/tclocklight/help/en/format.html#td) isn't working for me. It just outputs the "td-16:00" as a regular text string.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on January 15, 2015, 11:26 AM
because such a format doesn't exist.
As of now, you can only use "w+05" to output current hour +5
Title: Re: T-Clock 2010 (download)
Post by: azrdog on January 22, 2015, 05:33 AM
Hello, T-Clock is a very good program, lots of options, works on win7x64, but lacks information, such as CPU usage,RAM format %. This is AlfaClockFree_1.90 but does not work on win7x64 :(. Maybe You will have time to look and to add these useful functions. Thanks in advance.
Spoiler
[ You are not allowed to view attachments ]

Title: Re: T-Clock 2010 (download)
Post by: movrshakr on January 26, 2015, 04:06 PM
Surprise for me...
I recently had to reload Windows 8.1, and the T-clock left click gives me the calendar, which is what I want. 

However, it used to be a vertical stack of three months, but now is a horizontal row of 3 months--and looks far more "Windows-ish" than it used to. 

I much prefer the former way, but cannot find any settings in Properties to switch back to the vertical stack.

Is there a way?  Running 2.3.2 build 151
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on January 26, 2015, 05:43 PM
[...] but lacks information, such as CPU usage,RAM format %. [...]
These are on my todo for quite some time. So I'm not sure if I really want to add them just now. Because I originally planned to add this and more once I've rewrote the entire format "system". There's a lot to improve

[...] "Windows-ish" [...]
Like in Windows XP / 95 ? In that case, yep it's a bug.. well at least my local build looks that way :P (didn't check release build)
But regarding horizontal vs vertical.. well my build is showing those 3 months for quite some time horizontally... I don't even remember them being vertically^^ And adding an option isn't that trivial.. nor is there an easy way how to express the option for that^^
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on January 26, 2015, 06:38 PM
Thanks.
Now I have to confess that I was thinking of a different program that shows the vertical calendar.  In tclock, I was only getting ONE month showing before, and I know how to set it for that
Duh..

Don't get old.  It's no fun.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on January 26, 2015, 07:09 PM
just out of curiosity, which program is it :P?
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on January 26, 2015, 07:41 PM
just out of curiosity, which program is it :P?
The calendar panel (they call it navigator) in Outlook which I have positioned on the right side, so when open it is right above Tclock
Title: Re: T-Clock Redux 2.3.2
Post by: movrshakr on January 29, 2015, 11:30 AM
I really don't know why I don't just chuck this computer out the window;  
I am so tired of "fixing things" instead of using it.

Reinstalled Windows 8.1 a week ago due to having to reboot 8-10 times a day using hard kill.
Have been reinstalling the various apps I use and setting options in them since then.
Had T-Clock working fine.

Today, got tired of the Norton nag to "register" (buy) it, so I installed Comodo Dragon and uninstalled Norton.
Now, error message "Failed to customize clock:3" appears any time it is tried to start.

Downloaded from the 1st post to be sure I had the latest...same error.

Makes me want to chew nails--especially since I have had Tclock working with Comodo Dragon in the past.

LATER:
Fixed.
Occurred to me to try compatibility.  Setting the exe to Win7 compatibility let it start and no error message.
Wish I could remember all these tricks associated with various program/OS quirks.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on January 29, 2015, 06:31 PM
Hope you have uninstalled Norton first and maybe even used a cleanup utility.. (and of course restarted at least once)
You should configure your Comodo though, instead of using a "workaround"... You'll loose some T-Clock functionality with Win7 compatibility mode besides not really fixing your problem that Comodo blocked T-Clock^^

edit: fixed spelling.. I've wrote "clienup" instead of "cleanup" xD Don't ask me how that happened...
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on January 29, 2015, 07:04 PM
Yes, I did uninstall Norton...tried to use Revo uninstaller to get a good clean removal, but the Norton uninstall, which REVO runs first before doing its stuff, runs you into a restart--which closes Revo so it does not get to do its registry clean and file removal steps (pretty sneaky so they can leave their stuff behind I think).

I did configure Comodo using Chiron's settings (in Windows Secrets for one place).

T-clock seems OK this way--at least it does what I want, which is really only two things:
--let me set big, black font for date and time
--show me a calendar on click

I'm good for now.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on January 30, 2015, 08:40 AM
I actually meant a real cleanup utility such as: https://support.norton.com/sp/en/us/home/current/solutions/kb20080710133834EN_EndUserProfile_en_us
You shouldn't uninstall stuff like an AV using 3rd party tools that aren't made for this task anyway... AV's and some other software interact deeply with the system. That's why they can damage or corrupt it if something goes wrong. Such a 3rd party uninstaller can cause such issues. And a lot AV vendors have cleanup utilities or a community created one (in case of Comodo)

Uninstallers like Revo are fake in some ways anyway... they can only know what a software installed / created if they watched the install process... (which btw. interacts deeply with the system and can yet again cause trouble) And I'm not sure if you installed an AV with Revo^^ Wouldn't be the best idea anyway.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on January 30, 2015, 10:43 AM
I understand what you are saying; I have never had any problem with REVO damaging anything when set to 'moderate' level of detection.  It may leave stuff unremoved of course, and certainly did this time since Norton subverted the process by injecting the re-start, which ended Revo's operations.

I did just now download and run the Norton remover. It ran, but gives no report of details on what it did (it does say 'doing xyz' while running, but not results) --maybe removed nothing since I had already done the standard removal, and that could have confused it--but it did not report being confused.

We have no way of knowing what programs have their own removers except by doing a web search every time we get ready to uninstall something. Lots of added work.  One has to wonder why Norton did not make that remover tool be its uninstaller that runs when commanded through Programs and Features.  It could pop up a selection list to pick which thing to uninstall, or they could break it into pieces for each separate product.  The truth is, they WANT to leave stuff behind to do things like beg you to reinstall, or collect data (maybe) or whatever.  They don't want a clean, total uninstall to be done.
Title: Re: T-Clock 2010 (download)
Post by: Two_toNe on February 24, 2015, 11:36 AM
I just ran across this, very cool to see this thing still alive after all these years. Thanks Stoic Joker for continuing on with what myself left behind & Kazubon started.  ;)
Title: Re: T-Clock 2010 (download)
Post by: mouser on February 24, 2015, 12:30 PM
On behalf of all of us who use it, thank you for your work on it Two_toNe!!!!  :-* :-* :-*
Title: Re: T-Clock 2010 (download)
Post by: Two_toNe on February 24, 2015, 01:32 PM
Thanks mouser. I've been feeling a little nostalgic lately & decided to see what was up with the world of customizing. I haven't been on this site in years & seemed to have missed a lot of cool apps. I see you have a new version of LaunchBar Commander out, think I'll have to play with it tonight when I get home. Also I have to play with T-Clock 2010 too.
Title: Re: T-Clock 2010 (download)
Post by: mouser on February 24, 2015, 04:14 PM
I am a long time user and fan of t-clock. :up:
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on February 24, 2015, 04:31 PM
On behalf of all of us who use it, thank you for your work on it Two_toNe!!!!  :-* :-* :-*

A big +1 to that! Two_toNe's work on T-Clock helped me immensely in getting it past the x64 hurdle.

But just to keep the record straight, White Tiger is the T-Clock's current curator, as I bowed out due to time constraints about a year ago.
Title: Re: T-Clock 2010 (download)
Post by: Two_toNe on February 24, 2015, 09:28 PM
Then thank you WhiteTigX for picking it up this time around  :Thmbsup:
Title: Requested change to T-Clock Redux x64 - 2.3.2 build 151
Post by: IainB on February 25, 2015, 07:22 AM
After reading this discussion thread, I downloaded, installed and ran T-Clock (T-Clock Redux x64 - 2.3.2 build 151).
This is on a laptop with Win8.1-64 PRO.
The systray clock now looks like this (which is just fine):

[ You are not allowed to view attachments ]

...and after making the calendar display settings, here:

[ You are not allowed to view attachments ]

...this is what the calendar display looks like:

[ You are not allowed to view attachments ]

This was almost what I wanted, which would have been something more like this (click image to enlarge):
(The display settings would need to allow for x months forwards, and y months prior to the current calendar month, with x and y and colours/backgrounds/fonts etc. selectable to those shown.)

[ You are not allowed to view attachments ]

Question: Would it be possible that the range of T-Clock calendar display settings could be extended so as to enable this kind of thing?
(Thanks in advance.)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on February 25, 2015, 07:36 AM
in theory it probably could (almost)... though one problem would be the settings dialog to configure it :P There's not enough space right now.. might require a specific "Calendar" tab just for that...
Title: Re: T-Clock 2010 (download)
Post by: IainB on February 25, 2015, 09:02 AM
@WhiteTigX: Thanks. Well, there's hope for that request then.
I've been wanting to get that calendar display, and been hunting for software to do it for years. I had it all with BETACLOCK, but BETACLOCK stopped working at XP(SP3) and above.
Title: Re: T-Clock 2010 (download)
Post by: cyrilh on February 25, 2015, 03:54 PM
Hi,

Thanks White tiger++ for the fantastic work done here, it's adopted as part of my must have small pieces of free software (like pdfSAM and greenshot to name the ones I remember). How often I looked at the OS calendar and turned to another full blown app to read the week number!

Wishlist: being able to overlay other calendar data, static (e.g. school holidays in iCalendar format) or even better dynamic (e.g. read them from my email/calendar application)

Enjoy,
Cyril
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on February 25, 2015, 09:02 PM
@IainB: I didn't yet fully look into it.. from what I've seen is that it's possible to change the background and font (style,color), but it might be "impossible" to set different fonts for week numbers, heading, etc...
Well maybe through hacks... but those are likely version dependent...

You basically just want similar colors as you've shown on the screen shot? May I ask why?

@cyrilh: well... there have been requests to be able to use the calendar for more stuff then just showing the current date... like adding an appointment or deadline, etc. But I'm not that interested into enhancing the in-build calendar that much... it's almost an entirely differently program and a lot of work to begin with... I might make it easier to replace T-Clock's calendar with a 3rd party one.. (like allowing once again to run custom programs on mouse clicks which is on my to-do anyway)

People are still welcome to contribute their own code :P

P.S. I really should change my name / grab another one.. everyone spells it differently xD Or some did even ask how to pronounce my current one right here.. Too bad White-Tiger / WhiteTiger wasn't available the time I registered^^ Or that I didn't use ShiroTora instead...
Though my name is meant to refer a white tiger, I'll never use a space between those words :P It's either White-Tiger or WhiteTiger
Title: Re: T-Clock 2010 (download)
Post by: IainB on February 26, 2015, 06:13 AM
and thus easy distinction ...You basically just want similar colors as you've shown on the screen shot? May I ask why?...
The colours themselves are not as important as the levels of contrast between them when on a black background. It's a matter of ergonomics and visual perception. It's super easy on my eyes and easy for my peculiar eyesight to read all those items and easily discern them from one another - with that particular colour combo. There may well be other combos, but I settled with relief on that one as it was the first really decent one that I was able to generate after fiddling about with the settings in BetaClock.
By comparison, the standard Windows calendar display or the otherwise excellent calendar display in T-Clock are visually just too bland and indistinct for my eyes, and also, of course, the range of months displayed does not meet my requirements.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 01, 2015, 07:18 AM
Latest build v2.3.2 seems to be running just fine on Windows 10 x86 b10074

Might want to consider running Streams.exe (https://technet.microsoft.com/en-us/sysinternals/bb897440.aspx) -s -d *.* on the release to eliminate [application blocked] security warning hassles. Granted I never did it either...but I should have.. :D
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on May 01, 2015, 08:06 AM
Latest build v2.3.2 seems to be running just fine on Windows 10 x86 b10074
-Stoic Joker (May 01, 2015, 07:18 AM)

Stoic, I have lost track.  Is WhiteTigX or you or both doing the current work on this?
In post 1, I get a 404 for the link in the original post (actually Reply "0"; Reply 1 is the second post))
"www.StoicJoker.com/TClock for general info. Download is still only available here."

I must be dense.  In that post, there are so many "this is here and that is there" that I can never figure out where to get it.  The above indicates I failed again. :)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on May 01, 2015, 10:59 AM
Latest build v2.3.2 seems to be running just fine on Windows 10 x86 b10074
-Stoic Joker (May 01, 2015, 07:18 AM)

Stoic, I have lost track.  Is WhiteTigX or you or both doing the current work on this?
In post 1, I get a 404 for the link in the original post (actually Reply "0"; Reply 1 is the second post))
"www.StoicJoker.com/TClock for general info. Download is still only available here."

I must be dense.  In that post, there are so many "this is here and that is there" that I can never figure out where to get it.  The above indicates I failed again. :)

WhiteTigX has the project now...so his GitHub link (IFP) is where to get the latest build of T-Clock. My site has been down for a while now, as I've restructured/updated my lab and aren't really sure what if anything to do with the site.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on May 01, 2015, 11:29 AM
Understand.

It confused me since it was you talking about the new version and the first post says
"Download is still only available here."
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on May 01, 2015, 03:20 PM
well.. 2.3.2 is still the current / old version ;)
Though I'll actually release a new version near the end of this month :P

With these fixed: https://github.com/White-Tiger/T-Clock/issues (I still need help with the "time update" one.. as it works on my Win 7 VM as it always did..)
Colorizable calendar, new "Wu" week format (should be in sync with U.S. Windows' week numbering) and some Coverity scan fixes :P

[...]
Might want to consider running Streams.exe (https://technet.microsoft.com/en-us/sysinternals/bb897440.aspx) -s -d *.* on the release to eliminate [application blocked] security warning hassles. [...]
-Stoic Joker (May 01, 2015, 07:18 AM)
uhm.. that must be done on each user installation^^ If you're talking about "untrusted app, do you want to run?" thingy.. that's added because it was downloaded from the internet and you've extracted it with Windows' build in extractor...
Those hidden streams are only added after a download and/or extraction... (using 7zip for extraction for example is pretty safe)
Title: Re: T-Clock 2010 (download)
Post by: Syncopator on May 28, 2015, 04:20 PM
Would it be possible to incorporate the facility to display the date as the ordinal (28th) rather than the numeral (28) ?
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on May 28, 2015, 06:17 PM
I would suggest to just add the "th" yourself.. but guess you can't live with "1th, 2th, 3th" xD
Well.. guess it would be doable as a custom format.. though I worry just a little bit about translatability.. just in case it'll ever happen one day.

Does anyone else want days to be expressed like: 1st, 2nd, 3rd, and so 4th ?
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on June 08, 2015, 04:59 PM
Having a bit of  PROBLEM...
i DID  full recovery on wife's HP LAPTOP - A 2011 W7  machine.
ReinstaLLING EVERYTHING..
(dang you cannot help but hiht caps lock on this kbd)
Now when I run clock.exe or clock64.exe, I get an error message that MSVCR100.dll is missing.
Need the clock!  :)

Whassup?
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on June 09, 2015, 06:35 AM
You need to install the MS Visual C++ 2010 redistributable package for the bitness (x86/x64) you're running.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on June 09, 2015, 01:30 PM
You need to install the MS Visual C++ 2010 redistributable package for the bitness (x86/x64) you're running.

Ahso.  Off to look.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 10, 2015, 05:04 AM
they are linked under "Requirements" btw ;) https://github.com/White-Tiger/T-Clock#requirements
Or, you could use the static builds... but since you need those redistributables sooner or later, non-static should be preferred.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on June 10, 2015, 07:27 PM
OK, working now.

After I installed the C++ redistributables, I was getting a different error, but was away from it for a day and now it loads fine.

All solved though I know not how.
Title: Re: T-Clock 2010 (download)
Post by: mimo331 on June 18, 2015, 08:18 AM
Hello everyone, sorry for my bad English.

I installed T-Clock REDUX on Win XP SP2 with white color font and, if you go with the mouse over the clock area (bottom right), appears a white rectangle that completely covers the date and time (white color font), but it appears correctly mouse-over tooltip text.

Instead using T-Clock 2010 this does not happen, no one white rectangle, and when you go with the mouse over the clock area you read correctly the date and time, but it did not appear the pop-up with the date.

Obviously if you use any different font color than white, it reads well even with the white rectangle, but I want to use the color white for the font.

It is a known problem and solved in some way?

You can eliminate the white rectangle that appears in the clock area?

You can possibly change the color of the rectangle with a specific item in the menu, so you can also make it transparent?

Thank you.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on June 19, 2015, 12:41 PM
mimo331, I knew about this "issue".. basically XP wasn't designed to draw a "hover" background... that's why its just a white rectangle with black border around it...
Guess I'll put a OS version fence around that particular code (though, it would have been good if XP had a hover effect..)
Title: Re: T-Clock 2010 (download)
Post by: mimo331 on June 19, 2015, 01:36 PM
Thanks for the reply.

I wait for the new update with the resolution of the "bug".

Bye.
Title: Re: T-Clock 2010 (download)
Post by: Miaz on July 03, 2015, 01:21 AM
Hi,
after having some Problems to switch from Stoic Jokers T-Clock to White Tigers T-Clock - and some PMs with Stoic Joker to solve the problem, I want to:
1. thank Stoic Joker for his previous work and his advice to solve the current problem
2. thank White Tiger for his work to continue T-Clock development

I've been using this kind of program for many many years (already the very old program, before Stoic Joker continued development)
I's great - and I'm glad, that now the week numbers for Europe (ISO 8601) are displayed in systray correctly.

The mentioned problem in new version was:
--> There was no text visible in systray. Even modification of font, colour, size didn't help.
Stoic Joker gave me the solution:
--> No convertion of old T-Clock to new T-Clock, but delete of the old values in registry and fresh installation of White Tigers T-Clock.

Thanks again - both of you - for your great work  :Thmbsup: :up: :)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 03, 2015, 05:33 AM
you didn't make a backup of your "corrupted" settings by any chance?
Compatibility with Stoic Joker's version was one of my top priorities... that's why it converts settings... (well, generally backwards compatibility... and "upwards" compatibility when possible..)
I'm also unsure why the clock might be empty... unless the "no-clock" setting was set... but it's possible that I've even replaced that setting (if custom format is used, and empty, no-clock mode will be activated)

So... it was really empty? Rather, missing clock? So you couldn't even click on it to open settings etc.?
You're sadly not the first one with this issue... but I didn't get that many reports.. you're the 2nd or 3rd... yet no one managed to make a backup of their settings before deletion :(

--
I had an empty clock once.. but that was on Windows 2000 because my current/old code wasn't that compatible.. the same issue might happen on XP 32bit.. but the deletion of settings wouldn't work in my case anyway... (it was a fresh installation in my case.. and it simply couldn't write any settings... so it's a different case)

P.S.
I'm aware that I'm more than a month behind my schedule for my next release... currently the summer hit the place I live in... and I hate the heat xD But that's not actually the main reason... just the reason why it progresses even slower from now on.
Title: Re: T-Clock 2010 (download)
Post by: Miaz on July 03, 2015, 06:52 AM
Hi,
it's not easy to say, but IMHO the area was "not empty" - but "unvisible", as the area went bigger or smaller, depending what font or size or time setting I tried to choose.
But, as explained, no text was visible, only the normal blue background.  ... like the "East Frisian Flag: white dove on white ground ;)

My old time format was:
hh:nn:ss\nddd, dd/mm/yyyy "/ KW("Wm"+1)"

Everything else worked:
- right clicking to show the menu
- click to show the calendar view

What do you mean with "no clock setting"?

- After closing your T-Clock, the normal Windows clock was visible.
- After starting Stoic Jokers T-Clock again, the white text was visible again.
- But during different tests and numerous switching between yours an Stoic Joher's version - suddenly the text was absent in BOTH versions!
- As I didn't know the registry key at this time - I restored my windows (some days ago) - and afterwards Stoic Jokers Version worked again
- Afterwards Stoic Joker gave me the information to delete his registy key - and start your T-Clock complete fresh
--> this worked.

But:  
I have another PC - still with the old version of Stoic Jokers T-Clock. (Windows 7 x64)
I could send you these settings.

What do you need specially?
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 03, 2015, 10:53 AM
basically an registry export of HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010
Either manually or with such an batch file: (.export.cmd))
Code: Text [Select]
  1. @echo off
  2. pushd %~dp0
  3. regedit /e _export.reg "HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010"
  4. regedit /e _export64.reg "HKEY_CURRENT_USER\Software\Wow6432Node\Stoic Joker's\T-Clock 2010"
  5. if exist _export.reg ( echo exported to "_export.reg" )
  6. if exist _export64.reg ( echo exported 32bit stuff to "_export64.reg" )
  7. popd
  8. echo.&echo anykey to exit&pause>nul

But I doubt that your other PC will have the same problems.. If possible though, I'd like to have an export before and after my version... yet the later is more important I guess.

So if the error occurs, just PM me your exports..
Title: Re: T-Clock 2010 (download)
Post by: Miaz on July 05, 2015, 04:16 AM
Hi,
yes ... you were right...
Though I had (IMHO) the same settings like on Laptop 1+2, the convertion of the old settings to your version worked without any problems. The text is visible in systray.

Hm... I don't understand ... but I'm only a normal user, no specialist like both of you...

I have exported the old settings on my computer manually before the convertion and could send it to you, if you want.
But I don't know, if it makes sense.
Title: Re: T-Clock 2010 (download)
Post by: PhredE on July 09, 2015, 11:50 AM
I would suggest to just add the "th" yourself.. but guess you can't live with "1th, 2th, 3th" xD
Well.. guess it would be doable as a custom format.. though I worry just a little bit about translatability.. just in case it'll ever happen one day.

Does anyone else want days to be expressed like: 1st, 2nd, 3rd, and so 4th ?

Firstly, I'd also like to say thanks to Stoic Joker for his long-standing work in making T-Clock such a useful and viable piece of software. I'd imagined that he was long lost in the ether of the past - but he still posts! Muchas gracias.

Second, TigX - yes, I'd like to support the introduction of ordinal date suffixes. Natural forces are subjecting us to the hegemony of our friends in the USA, but many in the rest of the world remain adherents to the logical 'small, bigger, biggest' form of date expression - dd/mm/yyyy, implicit in that being that days in a month are - the first one, the second one, etc.
Days don't have names: July Fifteen, December Twenty-Five, January One.. I call it ugly. However, suffixes in the USA aren't entirely unknown - July Fifteenth has been heard.
I'd recommend that st nd rd th th th.. become established as a 'class', or whatever programmers call such things. Such versatility would be most welcome here.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on July 09, 2015, 02:00 PM
IF such (ordinals) are added, please do it as an option that can be turned on or off.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 09, 2015, 07:01 PM
IF such (ordinals) are added, please do it as an option that can be turned on or off.
of course ;)

PhredE, just to make it clear for me, it's "31st", "22nd" ? (well, anyone who really knows that is welcome to answer xD)
And yes.. I would write "11th", and not "11st" ^^
Title: Re: T-Clock 2010 (download)
Post by: PhredE on July 09, 2015, 08:27 PM
IF such (ordinals) are added, please do it as an option that can be turned on or off.
of course ;)
[Indeed, too; optional. :) PhredE]

PhredE, just to make it clear for me, it's "31st", "22nd" ? (well, anyone who really knows that is welcome to answer xD)
And yes.. I would write "11th", and not "11st" ^^
Yes, TigX, that would be it. +"23rd", f crse. Other languages...? Hmm.. Non-trivial, but not complex, ergo some kind of class or function.
Would you make it available to the world, and beyond...? It'd be a first.
And, yes.

BTW, I've just yesterday come across your fork - in trying to understand Stoic's 'w' parameter; I was wanting to display UTC as well, with am/pm changing accordingly when td crossed 12.
Thanks for having the calendar close upon losing focus. ;)
Cheers.
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on July 09, 2015, 08:51 PM
1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th
11th 12th 13th 14th 15th (<added later) 16th 17th 18th 19th 20th
21st 22nd 23rd 24th 25th 26th 27th 28th 29th 30th

I don't know why or who made it that way.
Title: Re: T-Clock 2010 (download)
Post by: PhredE on July 09, 2015, 08:59 PM
+31st. :)
Shakespeare; inherently creative. ;)
Title: Re: T-Clock 2010 (download)
Post by: Ath on July 10, 2015, 01:19 AM
+15th
Title: Re: T-Clock 2010 (download)
Post by: movrshakr on July 10, 2015, 08:09 AM
+31st. :)
Shakespeare; inherently creative. ;)
Yes, after 30th, it follows the same pattern as for the 20's line.

Thanks for adding the typo-missed 15th.
I editid the post to put it in
Title: Re: T-Clock 2010 (download)
Post by: iycgtptyarvg on July 23, 2015, 09:21 AM
Hi WhiteTigX,

Could you please tell me where to find the latest version?

I currently am using this :
T-Clock 2010 x64 - build 95
Stoic Joker 2006 - 2010
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 23, 2015, 12:57 PM
My signature for example :P
Or in Stoic Joker's original post under "Download Link" (the 3rd one, though he really should clean that up ;) Not that easy to follow for new users)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 07, 2015, 10:02 AM
is there anyone who knows how Metro/Modern UI truly works and how a desktop app could interact with these?

Basically, Windows' 10 calendar is a rather slow modern UI app that doesn't follow any classic win32 rules I know of...
It's important that T-Clock is able to move that calendar to a different monitor in case of multi-monitor support.

I can't just wait for its window to exist, it's not enough to SendMessage() WM_NULL, it's not enough to IsWindowVisible(), it's not enough to check any style of the window...
The only thing that "currently" "works" is to check the size/position and if it's less than the desktop size (well, primary monitor size), I can move it (and it won't get overridden by a later call)

I suspect a window with the class "Windows.UI.Core.CoreWindow" uses some different methods to display and there must be some sort of IsWindowVisible() for these... It's ridicules how slow the new calendar is... I've got a loop with 50ms sleep in-between and end up with >10 iterations and often catch independent size and position changes.. that is: I wait 50ms, the calendar resizes, I wait 50ms, it then moves... Every desktop app would do this in just one step instantly... (and wouldn't even start full-screen to begin with)
Title: Re: T-Clock 2010 (download)
Post by: pencoe on September 07, 2015, 10:11 AM
@WhiteTigX: thanks a lot for your work! Finally TClock is (again) usable on my computer  :)
 (Using the last build 2.3.2 b 151 on a german Win 8.1 Pro)
Title: Re: T-Clock 2010 (download)
Post by: magi on September 26, 2015, 07:29 AM
--

I have just installed windows 10 on my 64 win 7 laptop.

Can I install T-Clock in windows 10?

Where can I get a safe download?
Link?


Regards  MagI

---
Title: Re: T-Clock 2010 (download)
Post by: tomos on September 26, 2015, 01:15 PM
Where can I get a safe download?
Link?

this is the version that's been actively developed --

Download Link   White Tiger's GitHub Release Page (https://github.com/White-Tiger/T-Clock/releases)

I have no idea though if it works on Windows 10, although see mention of Windows 10 in (the developer) WhiteTigX's last post above
Title: Re: T-Clock 2010 (download)
Post by: x16wda on September 26, 2015, 03:45 PM
Yes, works fine on Win 10.
Title: Re: T-Clock 2010 (download)
Post by: Curt on September 26, 2015, 04:00 PM
Yes, works fine on Win 10.

^+1

[ You are not allowed to view attachments ]

Title: Re: T-Clock 2010 (download)
Post by: x16wda on September 26, 2015, 07:19 PM
Curt, you don't include the Posix date in your taskbar clock? It's so useful! :P

[ You are not allowed to view attachments ]
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on October 19, 2015, 01:57 PM
new pre-release: https://github.com/White-Tiger/T-Clock/releases/tag/v2.4.0%23351-rc
If I've missed anything, let me know^^ But all reports related to bugs, should be solved.
Title: Re: T-Clock 2010 (download)
Post by: IainB on October 20, 2015, 05:35 PM
I have to say that this "Redux" looks good, but I wish it was as flexible as Beta Clock (http://www.betaclock.com/)...

[ You are not allowed to view attachments ]
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on October 20, 2015, 06:20 PM
Well... I've tried my best to replicate this look using Windows' calendar control.. and I've enabled you full control over the colors. So what can be changed, got changed. The rest isn't doable this easy without writing my own calendar.
Though, the month arrangement could be more flexible, but it's hard to squeeze in the required options :P (as seen with the colors)
Title: Re: T-Clock 2010 (download)
Post by: IainB on October 20, 2015, 07:17 PM
Yes, I realise that. I was neither complaining, nor criticising. Just wishing.
I think you've done a great job with T-Clock, by the way.    :Thmbsup:
Title: Re: T-Clock 2010 (download)
Post by: THEtomaso on October 25, 2015, 08:32 AM
Thanks for continuing the work on the excellent T-Clock software!

I've got a major gripe with the latest release though..

I've been using 'T-Clock Redux' for a while now, and recommending it to other people.
However, with the v2.4.0 beta release, the program now behaves in such a manner that I can no longer recommend it to anyone.
Yes, I'm talking about the new Update Checker! :(

The program now instantly tries to connect to the internet at first launch, without the user's consent.
I blocked the connection attempt with my firewall, and then proceeded to look for the option to turn this feature off..
According to the changelog, you have to "check for updates once and remove the check marks"..
Well, I tried that, and ran into this error:

(https://www.mediafire.com/convkey/a5ec/dsu7da758n8ap326g.jpg)

I guess that I have to unblock it with my firewall, and actually LET it connect to the internet, before I can get access to these settings?
Well, that's not gonna happen.
I'm sorry to say, but this kind of behaviour is a real deal-breaker, even for a open source program!
Please REMOVE the Update Checker from the final build, or at least turn it OFF BY DEFAULT and let us change the setting for it while being offline!
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on October 25, 2015, 04:24 PM
[...] OFF BY DEFAULT [...]
Isn't an option at all. As software should be setup the way that average people don't have to change anything.
So update checking is opt-out and never opt-in as it is quite useless otherwise. Or do it like VLC, and ask on "install" but I didn't want to annoy people, so just opt-out.
Further more, it connects to Github, so not even a privacy issue as one could argue if it were my own server... (ok, it is using http://rawgit.com/, not Github directly)

The update notification UI includes a checkmark to easily adjust the update checking (in case a new version is found and you're annoyed by the fact because you don't want to update or what ever....) but it is really just this UI... not the "progression UI" which can only be seen by manually checking for updates.
So yes, currently you have to be online to disable it and it wouldn't even work on Win2k and maybe XP (because of SSL), but it doesn't really matter otherwise^^ Just fails to check for updates, but will never show a prompt.

test removed as I've forgot to mention it actually.. But I wanted to^^
And if you'd read my changelog, you would see that I've wrote this fact down... it's beta after all (well release candidate / pre-release) ;)

Still don't know where to place the "proper" UI though...

Yet you can manually disable update checking by changing / adding a DWORD called "UpdR" to "0"
in "HKEY_CURRENT_USER\Software\Stoic Joker's\T-Clock 2010" or the T-Clock.ini, section Main

Edit: fixed my post by "spoilering" the original but actually incorrect text...

Addition: well there's maybe one point you're right about... before anyone got the chance to disable update checking, it'll check for updates once... well I considered it to be not an issue because you've just downloaded it, so you're likely connected anyway (my care was mostly about people who are still not connected 24/7, so I don't want their internet to "dial up")
This is to make sure T-Clock can be / is allowed by the firewall installed (actually I could add myself to Windows' firewall, but wanted people to have control about it) so it won't popup during the automatic update check and might screw you up (like poping out of a game or something)
This is why it checks for updates on first launch and also to make sure people use the most recent version and not some old version someone hosted on their site.
So the VLC way got some points... but I'm still not sure about it (beside the fact that I'll bloat T-Clock to add this message window and some people might disable it accidentally)
Title: Re: T-Clock 2010 (download)
Post by: andrejtm on November 19, 2015, 12:16 AM
Is there a way to display the weekday number (e.g. 1 for Monday, 2 for Tuesday, etc.) ?
Thanks!
Title: Re: T-Clock 2010 (download)
Post by: Curt on November 19, 2015, 09:54 AM
day number of year, but not yet day number of week
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on November 19, 2015, 11:33 AM
will be added once I've added the ordinal day number (1st, 2nd, 3rd etc) which kind of requires a rewrite of internal format processing
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on December 01, 2015, 06:53 PM
Hello T-Clock community ;)

I require your help but let me apologize first because I've re-read some of my own posts a while ago and I really sound like an asshole from time to time :P It's really not meant to sound like that and I'll try to be more careful about what I write to sound less aggressive and that like.
Might be related to my partially lacking English, but who knows.

Well, lets go back to my help request.
I've decided to add a question dialog regarding the update checker because it isn't really possible otherwise to prevent it from running before you had a chance to disable it if you really want to.
The goal is to have this dialog as short as possible to not be too annoying, and to prevent people from accidentally disabling update checking in case they tend to close every window that pops up..

So my current "try" looks like this:
(http://i.imgur.com/ysN711e.png)
raw text
T-Clock can automatically check for updates to ensure
that you're aware of the latest bug fixes and features.
This usually requires less than one KiB of data
and won't disturb your daily work.

It is recommended to have update checking enabled.

Note that you'll have to click "Disable" to actually disable it, because it is enabled by default (which means the other two buttons and closing the dialog does the same thing)
I've chosen this layout as I think it might prevent people from accidentally disabling it by closing the dialog, hitting the right most button or clicking the left most.. (a message box usually got "OK" and "Cancel")
But I've got no real experience or psychological skills to know whether my thinking is right or not.

What do you think? And feel free to suggest a different layout or text. Or correct my current one
Title: Re: T-Clock 2010 (download)
Post by: mouser on December 01, 2015, 07:04 PM
I think it's nearly perfect. 

A couple of suggestions:

1. Three buttons seems like one too many.  I would suggest merging the "Keep enabled" and "OK" to one button "OK, keep enabled".
2. I'd remove the sentence "This usually requires" and change it to "No personal information or extra data is transmitted during this check." (or something to that effect).
3. You *could* also add a sentence like "You can change this option at any time from the preferences dialog".



Having said all that, i think people have become completely used to the idea of update checks, and so a pre-warning dialog like this is not strictly necessary (i don't use one in my apps); i think the important thing is having a way for user to disable it.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on December 02, 2015, 06:32 AM
1) well.. what about accidentally clicking the wrong button? I also have to include non-English people in my decisions (which might not even read anything at all)
There's redundancy right now, but it's so far intended even though it might look weird :P
Also, I'm currently unable to resize buttons because it's just a subclassed MessageBox (though I might add that if really needed)

2) Well... at least I want to know how much an update check requires... I know of a lot bad implementations that require ridiculous amounts of traffic for what they should do (though I can trim mine further down to about 32bytes excl. HTTP headers and TCP traffic)
I'm also actually not a fan of this "no personal information...." stuff... it suggests that it'll otherwise transfer this kind of information which I think is wrong. So I'll rather add a notice about what personal information I'll transfer, rather than putting a notice that I don't transfer^^ I want to live in a world that assumes everyone is good unless they say otherwise.

3) That's something I've really missed ;) Thanks. (though the message gets longer...)
Though I have to add the UI first xD Which isn't easy to squeeze in currently...
Lets assume this dialog is to be added, would a button be enough that says "configure updates" which simply displays this dialog again?
A bit easier (smaller) than check boxes:
"โ˜‘ Regularly check for updates     โ˜ include beta versions"


[...]
Having said all that, i think people have become completely used to the idea of update checks, and so a pre-warning dialog like this is not strictly necessary [...]
I agree. But my issue is that I've decided to do an update check on first launch. Mainly to get firewall notices popped up and hopefully allowed so it won't happen eg. 5 minutes after startup, somewhere in the middle of the day or next day etc.
Yet it prevents people from disabling it before it triggers...
And the quite fast response to this feature up here (https://www.donationcoder.com/forum/index.php?topic=21944.msg391368#msg391368) showed it's still an issue.
Also, the popup notifies users before a firewall popup appears, which is good because T-Clock isn't some Internet related software and it looks a bit suspicious without a forewarning
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 02, 2015, 07:22 AM
I'm with mouser on the two vs 3 buttons thing as the extra button only serves to confuse a different group of people, and there's just no saving the reflex clickers. :D

Also there's really not much point in keeping my logo on the top right of the about page anymore, so why not use the space for the auto update configuration options? It has certainly worked out for the auto start checkbox. And since it's the first thing people see when they go for properties it keeps the option in view as a gentile reminder to give re-enabling it a shot.

Or... you could even move the (getting a bit long) history panel to its own history tab (or window), and (perhaps) better use the about page space to be about what's going on now.


@mouser - While we're all here - so to speak -  is there any way we can split this up and give WhiteTigX his own thread for TC? That way he'd have better control of the posting going forward...and I could sink into the past.
Title: Re: T-Clock 2010 (download)
Post by: cranioscopical on December 03, 2015, 11:42 AM
Enlarge the first button?
Title: Re: T-Clock 2010 (download)
Post by: THEtomaso on December 03, 2015, 12:47 PM
I've decided to add a question dialog regarding the update checker
Great! :)

--

I've re-read some of my own posts a while ago and I really sound like an asshole from time to time
That's not the impression that I got!
..but I DID get the feeling that discussing it any further would be pointless. :)

--

What do you think?
Just make sure that it doesn't try to connect to the internet even once, unless the user has actually pressed that "Keep enabled" button first!
Title: Re: T-Clock 2010 (download)
Post by: mouser on December 03, 2015, 12:50 PM
is there any way we can split this up and give WhiteTigX his own thread for TC?

i think we can do better than that -- with 30 pages of posts tclock clearly deserves its own forum sub-area..
Title: Re: T-Clock 2010 (download)
Post by: mouser on December 03, 2015, 12:57 PM
I've created a new area with WhiteTigX and Stoic Joker as moderators, and moved this thread into it (links to old thread redirect here).

Let me know if you want me to split this thread up into different threads.

My suggestion would be to start a new sticky thread for the latest download links.
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 03, 2015, 03:00 PM
Zoiks!

Mouser have you heard from WhiteTigX on this?? I was only making a suggestion...(contingent on his input)... not a request..

I'd actually thought that my original beginning of thread/top half could just be locked, so it would sink into board history, and then the second half would go into WhiteTigX's thread. I stepped out on page 17 here (https://www.donationcoder.com/forum/index.php?topic=21944.msg285164#msg285164), it was a bit fuzzy during the transition, and then he took over "officially" a few pages later.

Also since I've been "gone" for almost 2 years, there's really no reason for me to be a mod of the new section, as it's WhiteTigX's project now.

I appreciate the consideration...but we need to consider him, and his input on the transition, because it really is his project now.
Title: Re: T-Clock 2010 (download)
Post by: mouser on December 03, 2015, 03:08 PM
well we can split the subject exactly as you request, pending WhiteTigX's input, but after 30 pages of posts i think a section of it's own is deserved :)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 03, 2015, 03:55 PM
Werkz 4 me.. :D
Title: Re: T-Clock 2010 (download)
Post by: IainB on December 03, 2015, 10:17 PM
Before and After T-Clock installation: The clock display at the bottom of my vertical Win10 Classic Start Menu Taskbar is more legible (good ergonomics), and takes up less vertical space: (worth keeping)

[ You are not allowed to view attachments ]


Though the XPCalendar 12-month calendar display is very good, it's not entirely what I'd like (i.e., I'd prefer something like BetaClock):

[ You are not allowed to view attachments ]


Nice job. Thankyou.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on December 04, 2015, 05:45 AM
[...]
..but I DID get the feeling that discussing it any further would be pointless. :)
[...]
Well... you're not the first :P There have been feature requests or "bug" reports which I've been answering with โ€œnope, won't do / not possibleโ€ and some are on my to-do or even actually implemented^^
Though I've meant what I said... I didn't want to add such an dialog as it bloats T-Clock and is also quite annoying... Yet I'm adding it to the "Options.exe" which means it won't bloat T-Clock much and all it does is to eat a bit more of your harddrive. I generally want to move all options to that binary, so that I could make them more fancy and stuff, without wasting memory and CPU for 99% of the time without options open.

[...]
My suggestion would be to start a new sticky thread for the latest download links.
You just want to increase my workload, right? xD

[...]
I appreciate the consideration...but we need to consider him, and his input on the transition, [...]
I don't mind eitherway ;) Though, with the subsection we've got now, it might be good to split up the threads to clarify a few things...
Guess that'll mean to split away the older stuff, so people having this topic bookmarked can keep it?

[...]
well we can split the subject exactly as you request, [...]
Well that's the point I guess... "we" also means that Stoic Joker could split it up himself, less work for you :P (or I could in that matter)
Title: Re: T-Clock 2010 (download)
Post by: Stoic Joker on December 04, 2015, 07:13 AM
[...]
I appreciate the consideration...but we need to consider him, and his input on the transition, [...]
I don't mind eitherway ;) Though, with the subsection we've got now, it might be good to split up the threads to clarify a few things...
Guess that'll mean to split away the older stuff, so people having this topic bookmarked can keep it?

I think that would be safest. Cut me off at the project end announcement, add a link to your new section for continuity, and lock that thread. Then you can dice up the rest as needed.


[...]
well we can split the subject exactly as you request, [...]
Well that's the point I guess... "we" also means that Stoic Joker could split it up himself, less work for you :P (or I could in that matter)

Since I've never done it before ... It's probably safer if Mouser cuts me loose so I don't screw it up.
Title: Re: T-Clock 2010 (download)
Post by: xzeldax3 on February 23, 2016, 10:46 PM
I don't know if this is the best place for this, but I just want to thank everyone who helped make T-Clock. I have always been so annoyed that Windows never allowed me to keep the date on my taskbar when using small taskbar icons. You guys have helped me out so much, thank you!!!
Title: Re: T-Clock 2010 (download)
Post by: mouser on February 24, 2016, 12:03 AM
Welcome xzeldax3  :Thmbsup:

It's the perfect place for it.

I'm not one of the coder's of tclock but I can tell you that posts like yours really mean quite a bit to a coder.  Hearing that someone appreciates the work we do can make all the difference and can make us feel good about what we do.  So, thanks for taking the time to post :Thmbsup:
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on February 24, 2016, 01:37 PM
what he said ;)
Title: Re: T-Clock 2010 (download)
Post by: MilesAhead on February 24, 2016, 01:57 PM
what he said ;)

I am still using it.   :Thmbsup:

[ You are not allowed to view attachments ]
Title: Re: T-Clock 2010 (download)
Post by: tomos on February 24, 2016, 02:25 PM
^  :Thmbsup:

[ You are not allowed to view attachments ]
Title: Re: T-Clock 2010 (download)
Post by: cranioscopical on February 24, 2016, 11:04 PM
Happily using it for full taskbar-height date and time on each of two sets of dual monitors, so that's  :Thmbsup:  :Thmbsup:  :Thmbsup:  :Thmbsup:

Thanks!
Title: Re: T-Clock 2010 (download)
Post by: anandcoral on February 25, 2016, 12:10 PM
Well, T-Clock is one of the first I install in every machine I work. From WinXp to Win10 now.

In WinXp I used to keep double size taskbar icons which gave amble height to have bigger font for T_Clock, better for my eyes. Also I wanted to see the day of the week at a glance, which it helps to achieve  :Thmbsup:

Win10 the taskbar icons are by default double size so same configuration fits here too.

[ You are not allowed to view attachments ]

Regards,

Anand
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on February 25, 2016, 12:24 PM
did you want the text to be at the "top" or did T-Clock fail to center it properly?
Title: Re: T-Clock 2010 (download)
Post by: anandcoral on February 26, 2016, 10:12 AM
T-Clock is working OK.

I have given two line string for date and time with larger font. This way the taskbar height remain default and I get to see full date and time at a glance.

The top white line in the image is of DC forum which got captured.

Below images are better to explain.

[ You are not allowed to view attachments ]

[ You are not allowed to view attachments ]

[ You are not allowed to view attachments ]

Regards,

Anand
Title: Re: T-Clock 2010 (download)
Post by: IainB on March 07, 2016, 11:04 AM
I terminated T-Clock today and restarted Windows Explorer, as I wanted to run the standard Windows clock with 3 clocks displayed - showing the time in different timezones.
So I guess I need to make a request for T-Clock to be able to display 3 or more clocks...    ;)

Coincidentally, my Windows Defender virus checker just told me that the file: C:\...Clocks\T-Clock\misc\Options.exe has been quarantined as it is a seriously bad Trojan called Trojan:Win32/Varpes.L!plock

Shouldn't somebody check that? I know it is probably a false positive, but then again...

UPDATE: I uploaded the latest version file T-Clock v2.4.0 beta3.zip to VirusTotal just now, and it came back with a clean bill of health. Looks like I'll probably have to wait a few days before reinstalling the quarantined file...
Title: Re: T-Clock 2010 (download)
Post by: B00ze on March 11, 2016, 09:17 PM
Good day.

I noticed there was a new version of T-Clock today, so I updated my files. It's supposed (?) to ask about checking for updates when it starts the first time, but it does not, even if I give it an empty .INI file and let "options.exe" through the firewall, it still does not ask about it. Also, the UpdT registry value is incorrectly typed as a DWORD when in fact it is 8 bytes long, the 32bit value + 4 zero bytes (amazing that Windows lets you write more than 32bits into a DWORD; must be a "feature" lol). So I notice that Options.exe is the one doing the update check, that means you run Options.exe every time T-Clock starts? Kinda defeats the purpose of having a separate executable if you run it every time anyway...

That's it folks.
Keep up the good work!
Best Regards,
Title: Re: T-Clock 2010 (download)
Post by: Curt on March 13, 2016, 01:57 AM
Is there a way to display the weekday number (e.g. 1 for Monday, 2 for Tuesday, etc.) ?
will be added once I've added the ordinal day number (1st, 2nd, 3rd etc) which kind of requires a rewrite of internal format processing

"multiple formats"? Some say Sunday is the first day of the week, some say Monday is. And Saturday and..., and...

Anyway, I came to say Thank You for writing the TClock Redux version!, but haven't we tested it enough by now? Isn't it time for a proper installer? I cannot launch a new version of TClock without first closing my security program. That's not how we want DC programs to function.
Title: Re: T-Clock 2010 - pros and cons
Post by: IainB on March 13, 2016, 06:59 AM
Is there a way to display the weekday number (e.g. 1 for Monday, 2 for Tuesday, etc.) ?
will be added once I've added the ordinal day number (1st, 2nd, 3rd etc) which kind of requires a rewrite of internal format processing
"multiple formats"? Some say Sunday is the first day of the week, some say Monday is. And Saturday and..., and...
Anyway, I came to say Thank You for writing the TClock Redux version!, but haven't we tested it enough by now? Isn't it time for a proper installer? I cannot launch a new version of TClock without first closing my security program. That's not how we want DC programs to function.
_____________________________
I'd have to say that @Curt seems to make some valid points, though I'm not sure I can agree that the statement "That's not how we want DC programs to function." makes any valid point, since it seems to be an appeal to the consensus.
From my perspective:

Therefore - on balance - I have just uninstalled/removed T-Clock.

So, in my view, for this particular software, it's the problems/interruptions that seem to make a negative difference - but they will probably be transient. I am otherwise usually more than happy to Beta-test or otherwise trial this and other software, so keep it coming, please!
Title: Re: T-Clock 2010 (download)
Post by: -EM on May 18, 2016, 06:39 AM
Have been using T-Clock for quite a while now, mainly because of its ability to show week numbers in ISO format in the system tray.
A -quasi cosmetic- request: i use dates in a format of year + week number (very strongly geared towards industry and production environments). So e.g. Wed 18 May 2016 would be shown as 1620.3 (year 2016, week 20, day of week 3). T-Clock approximates this using the clock format "yyWi.ddd", except for one-digit week numbers. So the request: can (ISO) week numbers be shown 2 characters wide with leading 0?

If i look into the sources in T-Clock/src/DLL/format.c (version 27 Nov 2015), a quick and dirty change could be
 line 379:    
Code: C [Select]
  1. out += wsprintf(out,"%02d",week);       // format "%d" to "%02d"

Cheers and thanks for the neat little app.
-Eric
Title: Re: T-Clock 2010 (download)
Post by: kunkel321 on May 18, 2016, 12:08 PM
Hey I just now saw this thread.  So glad that T-Clock is active again!  Thanks Stoic!   :-*

PS I was actually listening to White Tiger when I saw it.   :Thmbsup:
That's some good hair-metal (https://www.google.com/search?hl=en&site=imghp&tbm=isch&source=hp&biw=1920&bih=947&q=white+tiger+mark+st+john&oq=white+tiger+mark+st+john&gs_l=img.3...1397.12604.0.12798.34.18.5.11.12.0.106.1384.16j2.18.0....0...1ac.1.64.img..0.23.1396...0j0i8i30j0i10i24j0i30j0i5i30.mBE7u2rSnFY&safe=active&ssui=on#imgrc=_) right there.
Title: Re: T-Clock 2010 (download)
Post by: kunkel321 on May 20, 2016, 10:39 AM
A cool feature might be to have a "School days until Summer" function.  I guess this would be a branch of the "DOY" (day of year) function.  You'd have to allow the user to define the "non-school" days though.  And also define the first day of "Summer."  Perhaps a comma-delimited txt file with (appropriately-formatted) dates.  Saturday and Sunday should be excluded from the count automatically.  Excel has a similar function.  Most time-related apps don't though--which surprises me, because there there a lot of teachers and students out there!

Bonus Star Wars geek tip:  Make your own r2d2 audio alerts to use in T-Clock. 
 http://www.r2d2translator.com/index.php 
Title: Re: T-Clock 2010 (download)
Post by: IainB on June 06, 2016, 06:43 PM
2016-06-07 1143hrs: I just added an image of the 3-clock Windows display to my post at: Re: T-Clock 2010 - pros and cons (https://www.donationcoder.com/forum/index.php?PHPSESSID=3iq1ho03929gq35oapft1vulv3&topic=21944.msg396923#msg396923)
Title: Re: T-Clock 2010 (download)
Post by: Biffle on July 09, 2016, 02:12 PM
How can I get to the settings? I have Win 10.
Title: Re: T-Clock 2010 (download)
Post by: kunkel321 on July 10, 2016, 08:55 AM
How can I get to the settings? I have Win 10.
I haven't tried Win 10. But on Win 7, you right-click the clock, then choose "T-Clock Properties."
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 10, 2016, 09:27 AM
Biffle, Windows 10 insider version? Or release?
the insider version is currently quite troublesome if it comes to T-Clock :P
Title: Re: T-Clock 2010 (download)
Post by: Biffle on July 10, 2016, 12:27 PM
I haven't tried Win 10. But on Win 7, you right-click the clock, then choose "T-Clock Properties."
Thank you, yes, I had tried it, but there does not appear a context menu.

Biffle, Windows 10 insider version? Or release?
Oops, I have never heard of such versions, do not know what's the differnece, but I have Windows 10 Home, 64bit.

the insider version is currently quite troublesome if it comes to T-Clock :P
Alright, that's a pity, well, OK, so I then will remove the progarm. Is there a portable alternative?

Many thanks.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on July 10, 2016, 05:41 PM
T-Clock can be used in a portable way when you create a T-Clock.ini file (either manually or with .reset_portable.cmd)
Or what kind of portable did you mean?

P.S. if the context menu doesn't work (which usually does for me, even on Win10), you can also access the options by running Clock.exe /prop
Title: Re: T-Clock 2010 (download)
Post by: Biffle on July 10, 2016, 05:55 PM
Or what kind of portable did you mean?
Without installation, without adding entries to the registry, files to C:.

P.S. if the context menu doesn't work (which usually does for me, even on Win10), you can also access the options by running Clock.exe /prop
Thank you, I do not know where to enter it and I also have to close the clock by stopping the task in the Task Manager, cannot find another way, that somehow let the symbols in the system tray disappear and then display again, do not know what that mean.

Many thanks.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 04, 2016, 01:25 PM
@THEtomaso, since v2.4.1, T-Clock shouldn't run the update checker until the user closed the Options on first start.
That is, if the user disables update checking (about page, first page to see actually) it won't run even once. Otherwise it'll run right after the user is done configuring, which should be adequate.

Anyway, I've just published the first bug fix release for the Windows 10 Anniversary update issues, get it here:
https://github.com/White-Tiger/T-Clock/releases

Create a backup of your T-Clock.ini (if portable mode were used) before updating to v2.4.1!
Or the Unicode change/conversion could break it and you'll loose all your settings.. (shouldn't, but we'll see) Please report back those problems and PM your original config file
Title: Re: T-Clock 2010 (download)
Post by: mouser on August 04, 2016, 01:40 PM
Just wanted to say thanks for the update  :up:
Title: Re: T-Clock 2010 (download)
Post by: nolan_vede on August 04, 2016, 04:49 PM
Hi WhiteTigX.

Ive been using T-Clock Redux v2.4.0 (beta 3, build 384) since Nov 27, 2015.

I just tried v2.4.1#414-beta portable, and this error popped up

[ You are not allowed to view attachments ]

I thought maybe the problem was I needed an executable...that possibly the previous 2.4.0.384 install was an executable, not portable (couldn't remember for sure), but since I could not find an executable anywhere, I downloaded a second T-Clock Redux v2.4.0 (beta 3, build 384) portable today for comparison purposes. 

Testing the second (portable) version of 2.4.0.384 brings up the same error as version 2.4.1.  Also, the Clock64.exe from the original 2.4.0 Ive been successfully using is 235 kb.  The Clock64.exe from the second download of v2.4.0 is only 208kb, although the mouseover from both shows 2.4.0.384

thanks
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 04, 2016, 05:43 PM
looks like you didn't download the static version^^
And you've downloaded the old version (since Beta2 is currently only available as a "static" version because AppVeyor somehow failed to pickup my release tag...)
Title: Re: T-Clock 2010 (download)
Post by: nolan_vede on August 04, 2016, 07:10 PM
looks like you didn't download the static version^^
And you've downloaded the old version (since Beta2 is currently only available as a "static" version because AppVeyor somehow failed to pickup my release tag...)
Yes.  All good now. Thanks.

T-Clock can be used in a portable way when you create a T-Clock.ini file (either manually or with .reset_portable.cmd)
Or what kind of portable did you mean?
Forgive me, Im a little lost here.  All I did was unzip the files, place them in a folder and run Clock64.exe.  In the previous version I had customizations, but never had an .ini file.  Yet, the new version opens with all my old customizations intact, which is o.k., but I dont know how it happened.  Have they been written to the registry? If so, I'd prefer to have an .ini if possible instead of the registry entries.  Is there a t-clock option I'm missing to create an .ini?  Or, how do I use the .reset_portable.cmd?

Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 05, 2016, 04:52 AM
you just execute that cmd script :P
But it'll only "activate" the portable mode, it doesn't remove or convert your settings from registry... (yet)

So you'd still have to cleanup the registry yourself, see #16 (https://github.com/White-Tiger/T-Clock/issues/16) or #15 (https://github.com/White-Tiger/T-Clock/issues/15)
Title: Re: T-Clock 2010 (download)
Post by: cranioscopical on August 05, 2016, 09:50 AM
Just wanted to say thanks for the update  :up:

I too  :Thmbsup:
Title: Re: T-Clock 2010 (download)
Post by: THEtomaso on August 05, 2016, 10:14 AM
@THEtomaso, since v2.4.1, T-Clock shouldn't run the update checker until the user closed the Options on first start.

Great!
Thanks for changing this behaviour, WhiteTigX. :)

Unfortunately though, with this latest build, the most important feature (IMO) is broken for me..
No matter which text colour I use, it reverts to white instantly when I move the mouse cursor over it!

(Win8.1,x64)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 05, 2016, 12:24 PM
[...]
No matter which text colour I use, it reverts to white instantly when I move the mouse cursor over it!
[...]
are you sure you're running the latest version? (Beta2, build 419)
Title: Re: T-Clock 2010 (download)
Post by: nolan_vede on August 05, 2016, 01:48 PM
I have a couple wish list items. 

1)  I dont know about anyone else, but sometimes I set a timer, and then forget I set it (https://www.donationcoder.com/forum/esmileys/gen3/3Smileys/rolleyes.gif)

I guessing you remember T-Clock ex.  it had a great option for showing the countdown in the systray under the clock when the timer was activated.  What I liked about it was that it reminded me I had a timer going, was out of the way, and always visible (you could have a floating countdown window, but there are times it would be either hidden in the background or in the way blocking something)

2)  Adding "seconds" to the alarm timer would be a very helpful addition.

thx

----------------------------------------------------
Win 10 pro
Title: Re: T-Clock 2010 (download)
Post by: THEtomaso on August 05, 2016, 03:51 PM
are you sure you're running the latest version? (Beta2, build 419)

I can confirm that the issue is fixed in build 419.
Good work! :)
Title: Atomic Clock Feature
Post by: Dypsis on August 09, 2016, 02:20 AM
Thanks for reviving T-Clock.
I can confirm it is working fine on Windows 10 64-bit Anniversary Update.  :up:

Is there an atomic clock feature where I can right click to update my computer's time via an atomic clock server?

Edit: I found it. A bit hidden, but it's there.  :)
Title: Re: T-Clock 2010 (download)
Post by: MilesAhead on August 09, 2016, 09:13 AM
Thanks for reviving T-Clock.
I can confirm it is working fine on Windows 10 64-bit Anniversary Update.  :up:

Is there an atomic clock feature where I can right click to update my computer's time via an atomic clock server?

Edit: I found it. A bit hidden, but it's there.  :)

Does it work?  I ask because on Windows 8.0 I have to use a browser protocol to get the time.  It could be the WiFi here blocking it for some reason.  But connecting to atomic time servers just hangs.
Title: Re: T-Clock 2010 (download)
Post by: Dypsis on August 09, 2016, 01:23 PM
Thanks for reviving T-Clock.
I can confirm it is working fine on Windows 10 64-bit Anniversary Update.  :up:

Is there an atomic clock feature where I can right click to update my computer's time via an atomic clock server?

Edit: I found it. A bit hidden, but it's there.  :)

Does it work?  I ask because on Windows 8.0 I have to use a browser protocol to get the time.  It could be the WiFi here blocking it for some reason.  But connecting to atomic time servers just hangs.
Yes, it works.
Try a different time server.
Title: Re: T-Clock 2010 (download)
Post by: REVERiE on August 09, 2016, 04:18 PM
Hi there,

after updating Windows 10 x64 (1607) today, my original t-clock stopped working.
Now I found the Redux version and downloaded version 2.4.1 build 419.
It shows the correct time when using it with default values, but I would like to use Advanced clock format like

dddd, dd. mmmm yyyy - HH:mm

When I enter this value, the clock freezes an shows a time some minutes ago (maybe the time when I started the software)?!
Seems as if no advanced clock format is working...

Any solutions?

cu, REV
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 10, 2016, 05:32 AM
I'd suggest that you'll either look at the format that's automatically created when you're not using a custom one, or click the help link to figure out that "m" means "month"... and you're displaying it twice :P
Title: Re: T-Clock 2010 (download)
Post by: THEtomaso on August 12, 2016, 07:32 PM
There's a bug in build 419 which sometimes causes the text to be cut off:

(https://www.mediafire.com/convkey/2df0/244a26y8gyai4ma6g.jpg)

Refreshing T-Clock fixes it right away, but that's just a workaround.
It never happened while I was using build 151.

(Win8.1Pro,x64)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 13, 2016, 08:05 AM
There's a bug in build 419 which sometimes causes the text to be cut off:
[...]
I'll guess you're not the same person? https://github.com/White-Tiger/T-Clock/issues/54
Well... I couldn't reproduce it yet, so I can't really fix it either... and I don't know what's possibly causing it.

Anyway, is it the primary or secondary clock?
Horizontal or Vertical taskbar?
Is the clock size larger or less than the Windows clock size?
What means "sometimes"?
Title: Re: T-Clock 2010 (download)
Post by: THEtomaso on August 13, 2016, 08:21 PM
I'll guess you're not the same person? https://github.com/White-Tiger/T-Clock/issues/54
Sorry, but I didn't notice that report.
I'm a different person.

For me, it doesn't necessarily happen right after I log on..
I rather suspect that T-Clock doesn't refresh itself properly when the date changes, but I'm not sure.

is it the primary or secondary clock?
I've only got one monitor.

Horizontal or Vertical taskbar?
Horizontal

Is the clock size larger or less than the Windows clock size?
Larger (Arial / 11 / Bold).
These are the same settings that I used with build 151, where the problem never occured.

What means "sometimes"?
Since I installed build 419 eight days ago, I've noticed it 3 or 4 times.

--

EDIT:
After messing around with it a bit now, I've figured out where the problem lies..
T-Clock doesn't refresh itself properly when the taskbar is hidden (which mine usually is).
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 14, 2016, 02:57 PM
So it's an auto-hide taskbar?
Title: Re: T-Clock 2010 (download)
Post by: THEtomaso on August 14, 2016, 03:15 PM
So it's an auto-hide taskbar?
Yes, I ran some tests, adjusting the time to 23:59..
Then I waited to see what happened when the dated changed.
As long as the taskbar were visible, T-Clock refreshed itself automatically like it should.
..but when I performed the same test with the taskbar hidden, the problem occured every time!
Title: Sync Time Hot Key
Post by: Dypsis on August 14, 2016, 04:43 PM
I've set a Sync Time hot key, but it opens up the Configure SNTP Client window instead of syncing the time.
I have a working time server set, but I don't want to see the configuration window every time I sync the time with a hot key.

And I just noticed that Quickys > Synchronize Time is not working.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 26, 2016, 01:53 PM
New version v2.4.2 : https://github.com/White-Tiger/T-Clock/releases/tag/v2.4.2%23445-beta

[...]
And I just noticed that Quickys > Synchronize Time is not working.
Can you elaborate that with a bit more detail? Does the UAC dialog show up?

Regarding the time sync hotkey....
It does actually synchronize the time instantly.. but only if T-Clock has the required rights to do so... When I've implemented it, I somehow thought it's better to show the time sync config window instead of UAC prompting for admin rights... Though I'm not so sure anymore that it was the right decision xD

It's probably better to change it.. or are there any objections?
Title: Re: T-Clock 2010 (download)
Post by: Dypsis on August 27, 2016, 12:19 AM
I have the Message Box enabled for Sync Time. That's all I want to see.
But, it doesn't display via the Quickys menu, so I don't know if it is working.

By the way, I have UAC disabled.


And most importantly: KEEP UP THE GREAT WORK.  :Thmbsup:
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 27, 2016, 06:24 AM
so when UAC is disabled, you can just click the "sync now" button on SNTP options and it'll synchronize without further interaction?
Does that button display the UAC shield icon?

Yet if you use the hotkey, it'll still open the options dialog even though it shouldn't?
Title: Re: T-Clock 2010 (download)
Post by: Mallik on August 27, 2016, 07:12 AM
Change log for the Version 2.4.2 says that a new context menu with options (restart, stop, hide, edit) is available.
I don't see these options, when I right click on t-clock.

Where do I find these options?

Thanks in Advance.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 27, 2016, 09:02 AM
they're part of "Watch List" (oh dear, I've referred it as "Timer Watch" xD) ^^ that one got a new context menu
Title: Re: T-Clock 2010 (download)
Post by: Dypsis on August 27, 2016, 07:45 PM
1. so when UAC is disabled, you can just click the "sync now" button on SNTP options and it'll synchronize without further interaction?
2. Does that button display the UAC shield icon?

3. Yet if you use the hotkey, it'll still open the options dialog even though it shouldn't?
1. Yes.
2. No.
3. Yes. And the Synchronize Time Quickys menu is not displaying anything.
Title: Re: T-Clock 2010 (download)
Post by: Mallik on August 27, 2016, 11:24 PM
Thank You White TigX for the reply.

The Windows clock shows the local time and also the time in other time zones, when we hover (mouse over) on the clock on taskbar.
Is it possible to imitate the same functionality in T-Clock?

Thanks in Advance.

Accepted solution: disabled T-Clock's custom tooltip (Options -> Mouse -> uncheck 'Mouse-over tooltip text')
Title: Re: T-Clock 2010 (download)
Post by: Dypsis on September 02, 2016, 04:04 PM
My Synchronize issues appear to be fixed in v2.4.2 Build 459.

Thanks.  :)
Title: Re: T-Clock 2010 (download)
Post by: BigBadPlayer on May 22, 2017, 03:34 AM
Hello everyone!

WhiteTigX, is it possible to add T-Clock the following feature?

There could be a right click option on calendar days "Copy Date". Many times people need some former/future date; which is easyer to find on T-Clock Calendar. In this way, we shouldn't remember the date and type in, in excel/webpage/etc. Just right Click, copy, and Paste.

Best regards!
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on May 22, 2017, 07:32 AM
possible? yes.
Will I do it? maybe, have to take a look if it's easily doable with the calendar control or not..

Might add further addition like "copy date in ISO xxxx format" etc.. so that IF anyone is using it, they at least also get multiple formats to choose from. (sometimes you'll need the date in the USA format, sometimes in the European format or sometimes even in a completely neutral form)

Oh and btw.. I totally forgot to announce version v2.4.3#472 (https://github.com/White-Tiger/T-Clock/releases/tag/v2.4.3%23471-beta) that I've released yesterday... sorry, it wasn't my intention to forget you ;)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on January 28, 2018, 03:13 PM
Long no see, here's v2.4.4 (https://github.com/White-Tiger/T-Clock/releases/tag/v2.4.4%23492-rc)
Title: Re: T-Clock 2010 (download)
Post by: cranioscopical on January 28, 2018, 05:30 PM
Long no see, here's v2.4.4
Thanks!   :up:
Title: Re: T-Clock 2010 (download)
Post by: c-sanchez on February 08, 2018, 10:38 PM
Hi WhiteTigX, please if possible add translations support for T-Clock Redux, can be nice view this program in other languague in addition to English.
Title: Re: T-Clock 2010 (download)
Post by: killen on February 23, 2018, 08:00 PM
The program is remarkable, it is different in addition to Classic Shell (not advertising). But in version v2.4.4 # 492-rc, the week numbers in the Miscellaneous tab do not work.
Also, there really is not enough multilanguage, especially Russian.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on February 24, 2018, 01:11 AM
But in version v2.4.4 # 492-rc, the week numbers in the Miscellaneous tab do not work.
Could you go into a bit more detail here?
I'm quite sure it's working, just not the way you want it to... since it's a Windows setting, it's not used for anything other than T-Clock's inbuild calendar...
Title: Re: T-Clock 2010 (download)
Post by: killen on February 24, 2018, 07:27 AM
Could you go into a bit more detail here?
https://d.radikal.ru/d01/1802/ec/56f9711070d1.png
Title: Re: T-Clock 2010 (download)
Post by: hamradio on February 24, 2018, 10:29 AM
Could you go into a bit more detail here?
https://d.radikal.ru/d01/1802/ec/56f9711070d1.png

Isn't that the week numbers to the left of each month calendar or am I missing something?
Title: Re: T-Clock 2010 (download)
Post by: killen on February 24, 2018, 12:26 PM
Perhaps, at first I did not pay attention to it. I thought that logically the display should be in the header window at the top, where and the day in the year is displayed.
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on February 24, 2018, 12:53 PM
hmm... would you also prefer an option to have it on the title as well? (might be easier to see it there if one wants a quick look, but doesn't want it to be part of the clock)
Title: Re: T-Clock 2010 (download)
Post by: killen on February 24, 2018, 02:40 PM
Well, yes, it is logical that it was displayed as well as the day (if this option is), followed and separated by a comma. In the option that there are shown all the weeks and their numbers, and so it would only be current, when you hover on a specific line. But it does not dazzle and informative!
Title: Re: T-Clock 2010 (download)
Post by: killen on February 25, 2018, 02:03 AM
Good afternoon, I found a well-translated program in Russian. But there the delay happens almost every time you switch to the "Text Clock" tab. Do not tell me why? And how can this be remedied?

T-Clock Redux 2.4.4 Build 492 (x86/x64) Russian Portable RePack (http://forum.ru-board.com/topic.cgi?forum=5&topic=48821&start=20#8)
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on February 26, 2018, 05:08 AM
[...] well-translated [...]
Well.. maybe if you're talking about the translated text... everything else seems to be a bit buggy (at best)
I couldn't find the source code for it, so I can't really tell what's wrong (also not T-Clock's problem) but you should probably take a look at those color controls...
Title: Re: T-Clock 2010 (download)
Post by: PhuketGeek on July 20, 2018, 07:25 AM
Just logged in to say thanks very much for T-Clock.  :up:
Title: Re: T-Clock 2010 (download)
Post by: Tobor on August 23, 2018, 06:25 AM
Many thanks for the watch, which finally looks exactly as I need.

I logged in to report on minor issue that you might want to correct in the future. The attached picture shows that the font in the bottom window (Advanced Clock Format) is half as large as it should be. I guess the reason is that I set a large interface fonts in my Windows 7 (150%).

[ You are not allowed to view attachments ]
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on August 23, 2018, 08:14 AM
[...] font [...] is half as large as it should be. I guess the reason is that I set a large interface fonts in my Windows 7 (150%).
[...]
you're right about your "guess", it's a known problem. See: #65 (https://github.com/White-Tiger/T-Clock/issues/65) and #72 (Pull request) (https://github.com/White-Tiger/T-Clock/pull/72)
It's not that easy to fix... though I might consider adding an "high-DPI" check to simply remove that mono-spaced font for the time being. It'll probably take forever for the UI rewrite
Title: Re: T-Clock 2010 (download)
Post by: dfrunet on October 03, 2018, 05:54 AM
Hi! Is there a possibility to schedule a reminder to some point in the calendar? If not, is it possible to add a (optional) date field to alarm definition? I used Chameleon Clock before, mostly for quick reminders creation, but after upgrading to Windows 10, it can't build into the tray, so I consider switching to t-clock, but without possibility to set a date for an alarm, it looks more like a skin than a tool : ( Or, maybe i'm missing some option? Thanks in advance!
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on October 03, 2018, 08:49 AM
[...] Or, maybe i'm missing some option? Thanks in advance!
I'm afraid you're not missing anything. A proper scheduler is indeed missing (well the backend supports it now, but I haven't done the frontend yet)
I can't really give you an eta. either... it's part of the UI improvements I'd like to add and that stuff isn't that easy to implement. (well, I'm actually more stuck at design decisions)

So T-Clock is currently not what you're looking for.
Title: Re: T-Clock 2010 (download)
Post by: dfrunet on October 03, 2018, 12:36 PM
Unfortunately it seems, this is the only clock, compatible with Windows 10... Except some buggy 1st-Clock, hardly customizable, having problems with unicode and asking for money : )
I was unable to find an existing backend, but guess the following should work when added to AlarmNextTimestamp()
if (api.GetInt(g_alarmkey, L"Once", 0) && api.GetInt(g_alarmkey, L"Day", 0) && api.GetInt(g_alarmkey, L"Month", 0)) {
int month = api.GetInt(g_alarmkey, L"Month", 0) - 1;
if (tm.tm_mon > month) ++tm.tm_year;
tm.tm_mday = api.GetInt(g_alarmkey, L"Day", 0);
tm.tm_mon = month;
}
Actually I tried it with regedit and it seems to work.
Then only two more texboxes on alarm settings page are needed to make it work somehow... I can try to add them myself... But I've never deal with UI in c++. But that might be an interesting challenge : )
Title: Re: T-Clock 2010 (download)
Post by: dfrunet on October 04, 2018, 08:08 AM
Now it works (as a first iteration). Lots of improvements possible, but it fits my basic needs. Hopefully that's helpful for somebody else. Created a PR (https://github.com/White-Tiger/T-Clock/pull/158)
Title: Re: T-Clock 2010 (download)
Post by: Dypsis on October 26, 2018, 02:01 AM
What is the latest version, and where do I find it?

I have T-Clock Redux v2.4.4 Build 492 RC.
But when I check for updates, it says that there is a Release v2.1.0#57 (first release). (https://www.donationcoder.com/forum/esmileys/gen3/3Smileys/sad.gif)
Title: Re: T-Clock 2010 (download)
Post by: Curt on October 26, 2018, 02:53 AM
https://github.com/White-Tiger/T-Clock/releases


[ You are not allowed to view attachments ]

Clicking "Update" will not update it, but take you to the proper page.
Title: Re: T-Clock 2010 (download)
Post by: Dypsis on October 26, 2018, 03:13 AM
https://github.com/White-Tiger/T-Clock/releases


[attachthumb=#,msg424514][/attachthumb]

Clicking "Update" will not update it, but take you to the proper page.
It's exactly the same version that I already have.
Title: Re: T-Clock 2010 (download)
Post by: Curt on October 26, 2018, 07:39 AM
yes, also what I have. So, you already have the newest version. Is that a problem?
Title: Re: T-Clock 2010 (download)
Post by: Dypsis on October 26, 2018, 05:24 PM
yes, also what I have. So, you already have the newest version. Is that a problem?
No problem.
It's just that the update panel is a bit confusing.  :-\
Title: Re: T-Clock 2010 (download)
Post by: Curt on October 26, 2018, 05:51 PM
the update panel is a bit confusing.

^ yes, it is. The author of the new version will not diminish the original author. Therefore some oddities may be found.

Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on October 27, 2018, 02:23 AM
[...] The author of the new version will not diminish the original author. [...]
You get me wrong... Stoic Joker is a small fry, I'm a koi carp!
But seriously, the update check and dialog was entirely done by me, so it doesn't have anything to do with that.
100% my oddity.

However, the newer dialog currently looks like this:
[ You are not allowed to view attachments ]
( which you can actually get already if you download the (currently stable) nightly: https://github.com/White-Tiger/T-Clock#downloads-binaries )
Title: Re: T-Clock 2010 (download)
Post by: mouser on August 31, 2020, 11:14 PM
Just wanted to say thanks to all involved in T-Clock.  Just updated to Windows 10, and I love being able to see the full date in the system tray.  :up:
Title: Re: T-Clock 2010 (download)
Post by: Biffle on September 01, 2020, 12:20 AM
Where can I find / download the newest version?
Title: Re: T-Clock 2010 (download)
Post by: mouser on September 01, 2020, 12:31 AM
I went to this page:
https://github.com/White-Tiger/T-Clock/releases

And then clicked on the top headline (2.4.4 release candidate),
which brought me to a page with download links at the bottom of the page.
(it can be misleading because when you click on the link the page text may not change other than the links at the bottom of the new page).
Title: Re: T-Clock 2010 (download)
Post by: Biffle on September 01, 2020, 12:47 AM
Ah, there. Thank you. Very confusing. Even the date, looks like an old version:

v2.4.4 release candidate

@White-Tiger White-Tiger released this on 28 Jan 2018 ยท 38 commits to master since this release

I guess, it is a beta version, not a stable one.
Title: Re: T-Clock 2010 (download)
Post by: JBou on September 18, 2020, 03:19 PM
That's the latest version.  No activity since late 2018, but ti's a great program just like it is.  I have not discovered any show-stopping bugs or problems.  It's really quite nice!
Title: Re: T-Clock 2010 (download)
Post by: WhiteTigX on September 20, 2020, 12:08 PM
I went to this page:
https://github.com/White-Tiger/T-Clock/releases

And then clicked on the top headline (2.4.4 release candidate),
which brought me to a page with download links at the bottom of the page.
(it can be misleading because when you click on the link the page text may not change other than the links at the bottom of the new page).
Welcome to the Windows 10 madness, mouser ;) (or in this case, the Microsoft madness)
Actually, the "links" are there even before you click the headline, you have to "unfold" the Assets at the bottom of the first entry.

[...]  I have not discovered any show-stopping bugs or problems.  It's really quite nice!
Good for you... I have, sadly :( Different DPI displays are one thing and Theme changes / other "events" another as that might glitch out the positioning (though that can usually be fixed by a right-click->refresh
Title: Re: T-Clock 2010 (download)
Post by: click-click on September 26, 2020, 07:04 AM
That's the latest version.  No activity since late 2018, but ti's a great program just like it is.  I have not discovered any show-stopping bugs or problems.  It's really quite nice!
[...] The author of the new version will not diminish the original author. [...]
You get me wrong... Stoic Joker is a small fry, I'm a koi carp!
But seriously, the update check and dialog was entirely done by me, so it doesn't have anything to do with that.
100% my oddity.

However, the newer dialog currently looks like this:
[ You are not allowed to view attachments ]
( which you can actually get already if you download the (currently stable) nightly: https://github.com/White-Tiger/T-Clock#downloads-binaries )

I currently have 2.4.4#492-rc installed.  Is this the stabler release as compared to the nightly build which you state as stable and will it ever be moved out of nightly to the normal releases?
Title: Re: T-Clock 2010 (download)
Post by: SharkyEXE on December 23, 2020, 05:21 AM
Hello

Please help whether or not you can add two items to the main menu of the program (highlighted in red)

Thanks.
Title: Re: T-Clock 2010 (download)
Post by: mouser on January 25, 2021, 05:48 AM
Just another thanks for t-clock; installed on a new windows 10 system.  Love seeing the day of the week in the taskbar.
Title: Re: T-Clock 2010 (download)
Post by: Filipe Meira Castro on December 07, 2021, 01:58 AM
great app  :Thmbsup: :Thmbsup: :Thmbsup:
Title: Re: T-Clock 2010 (download)
Post by: anandcoral on December 07, 2021, 05:53 AM
Just another thanks for t-clock; installed on a new windows 10 system.  Love seeing the day of the week in the taskbar.
Yes. I can not work without it. One glance and I know the day.