Help - Search - Members - Calendar
Full Version: TClock x64
ieXbeta Board > Tech > Developer Center
Phonics Monkey
Greetings
I'm not sure how many people will remember this cool little system tray clock utility, but it was originally written by Kazubon back in the mid 90's. I've used it for years and am now poking through the source from the original TClock and the rewrite done by Two_toNe in 2000 and released as TClock2.


I'm not quite ready for a release ... but am working on both a 32-bit version (T-Clock 3) and a 64-bit version (T-Clock x64). Both are still in Pure C (Can U say "Pointer Casting...") and are being compiled with MSVS 2005 .NET


If anyone is interested in playing with it (Mind you it's a Work-In-Progress...) I'll toss a copy on the server & post a link to it.


Phonics Monkey
Phonics Monkey
blink.gif Okay... I'll assume that nobody remembers TClock at this point.

It makes the Windows SystemTray Clock more informative by adding (configurable) day, date and time info to an other wise rather boaring clock.

I put some screen shots of it running on my comp here so you can see what I'm up to and should have downloadable copies of it some time this weekend.

Note: If any one has Vista's theme code at the application level I could use some assistance with it.


Thank You
Phonics Monkey
Pitreck
I remember this app. I used it couple of years ago, tried once again half a year ago or so, but it didn't work to well on WinXP. It's great news, that you are working on updated version. I would be glad if I could test it smile.gif
Singh400
I've used a similar app before (LClock?) but I wouldn't mind trying this aswell.
Phonics Monkey
Okay ... try to keep in mind this thing ain't done yet, it's just stable enough to share.

I haven't tested it on Win2k but it should run on it (it did before...)
It currently runs fine on both the 32 & 64bit editions of XP, however... there was/is a (pre-existing) bug that caused problems with 3rd party (Stardock) themes that I've not had time to address. e.g. If it does something weird let me know.

It currently runs stably on both the 32 & 64bit editions of Windows Vista ... and looks like hell while doing it.


So... Link for the Brave and/or Curious


Thank You
Phonics Monkey
a.k.a
the Stoic Joker
quantumAlpha
currently running LClock, but this looks cool, maybe i'll give it a shot
Singh400
Brilliant lil program. Although you need to change the text that says:

"Start Tclock2 When Windows Starts"

to

"Start T-Clock 3 When Windows Starts"

That and maybe update the program icon.
Phonics Monkey
Thank You.

Actually I used the original icon because I thought development on it had stopped. But...After some digging into LClock (yet another spin-off of TClock) I found that the original author is still working on it. So I may have to change it.

I'll get the (Start TClock) text fixed ... Not sure how I missed that one. *sigh*



Okay text is fixed - I'd forgotton to write the defines for the alternate string values.

Both the 32 & 64bit versions are part of a single MSVC solution and use the exact same code (but have seperate project definition files), so I have to toggle the "small stuff" using the compiler's preprocessor defines.
Pitreck
->Phonics Monkey
Very nice, except I had to tweak text position a little, I didn't have any problems with it yet.

PS. You should think a bit about making localizators life easier, I don't know, by adding support for ini or lang files maybe. I'm sure there will be some, who would like to translate this app for their language. German, French or Polish for example.
Singh400
Well we have a very active German communtiy, and a somewhat active Ducth/Spanish community.

@Phonics Monkey: How about using this for the program icon? it is transparent. wink.gif

http://img132.imageshack.us/img132/8943/clock1ep.png
Phonics Monkey
@Pitreck Can you expand on "Tweak text position" a bit please? Also when I get it running right in english I'll start looking into language options wink.gif

@Singh400 Love the pic / consider it done.
Singh400
QUOTE(Phonics Monkey @ May 15 2006, 03:10) *

@Pitreck Can you expand on "Tweak text position" a bit please? Also when I get it running right in english I'll start looking into language options wink.gif

@Singh400 Love the pic / consider it done.
Pitreck meant that when you first start clock.exe the default value for 'Text Vertical Position' is set 4 -when it should be really set to 0, because 4 makes it drop down a little and thus making it loook out of place.

Just so you know, that clock face is from the Windows Sidebar.
Singh400
I don't like to "nitpick" but this eye icon, is it really necessary. Makes the app look unprofessional.

IPB Image

I took the liberty to replace the icon myself (hope you don't mind), I can PM you the .ico file if you'd like.
Pitreck
QUOTE(Singh400 @ May 15 2006, 12:51) *

Pitreck meant that when you first start clock.exe the default value for 'Text Vertical Position' is set 4 -when it should be really set to 0, because 4 makes it drop down a little and thus making it loook out of place.


Exacly, this especially doesn't look too good on visual styles with task bar narrower than in Luna, such as OpusOS.

Screenshot:
IPB Image

PS. What is weird, each time I start TClock3 text has different vertical position, but values in "Clock Text" tab remains the same.
Singh400
My values remain the same.
Phonics Monkey
@Pitreck I changed the default from 0 to 4 to center the clock in the default XP theme thinking it would be easier. However I wasn't thinking about the size changing with 3rd party themes (Guess I'll need to dig up a few for testing purposes)

I'll set the default back to 0 in the next build, and hopefully it'll behave then.


@Singh400
QUOTE
Just so you know, that clock face is from the Windows Sidebar.


...Oh goody, I can look forward to being sued... (lol)


The eye is actually my logo ... but yes it does look a bit raggedy.


Plese do PM the .ico file & I'll include it in the next build


Thank You
Phonics Monkey
Singh400
PM sent. As for the clockface, I'm sure if you mentioned that the clockface belongs to Microsoft in the readme.txt you'll be ok.
Pitreck
QUOTE(Phonics Monkey @ May 15 2006, 17:38) *

I'll set the default back to 0 in the next build, and hopefully it'll behave then.


Give it 2 and it'll be good smile.gif
Sinbad
QUOTE(Phonics Monkey @ May 15 2006, 11:38) *

@Pitreck I changed the default from 0 to 4 to center the clock in the default XP theme thinking it would be easier. However I wasn't thinking about the size changing with 3rd party themes (Guess I'll need to dig up a few for testing purposes)

I'll set the default back to 0 in the next build, and hopefully it'll behave then.



Sounds like something that should be a user changable option.
Pitreck
QUOTE(Sinbad @ May 15 2006, 21:32) *

Sounds like something that should be a user changable option.


Well, it is. What we talk about here is making default settings appropriate for the majority of users.
Singh400
QUOTE(Pitreck @ May 15 2006, 18:51) *
Give it 2 and it'll be good smile.gif
0 is better for me.

QUOTE(Sinbad @ May 15 2006, 20:32) *
Sounds like something that should be a user changable option.
Tut tut, can tell you haven't tried this yet. no.gif doh.gif
Sinbad
Whooops. Sorry about that. laugh.gif

No, I haven't tried it. Haven't had a chance. (finals week, yippee wink.gif)
Phonics Monkey
Updated copy with changes requested available now.

www.stoicjoker.com/TClock3
Phonics Monkey
Greetings
Okay, I just finished the Fully User Customizable Quick Launch Menu (it was only a stub in the previous build). So you can add any item(s) you like (up to a dozen) to the "T-Clock Quickys" menu and have quick access to your favorite widgets via the clock's menu!

Comments/suggestions as always appreciated.


Thank You
Phonics Monkey



P.S. Use link above ... I too tired to type it over wink.gif
Singh400
Dude, T-Clock doesn't look too good on Vista (5381.1)...

IPB Image

Has to be the application because I changed the theme numerous times and it didn't comply with the theme.
Phonics Monkey
QUOTE(Singh400 @ May 19 2006, 20:53) *

Dude, T-Clock doesn't look too good on Vista (5381.1)...

IPB Image

Has to be the application because I changed the theme numerous times and it didn't comply with the theme.



Correct, which is why the 2nd post (mine) in this thread mentioned that I could use some help with the Vista theme code. The part that kills me is the text is transparent and the background stays white(ish).

I've got some other minor stuff to cleanup in/with the prog, and then the Vista/theme issue will be at the top of the to-do list.





It is good to know the problem is happening consistantly and isn't just an issue with my config. That should make it easier to nail down.


Thank You
Phonics Monkey



UpDate: Well Hell Talk about the devil being in the details...there is/was a bugg in my version checking code that was preventing the clock from noticing there was a theme running (actually it thought Vista was Win2k ...Zoiks!).

So... The next build will work right on Vista. <-Hopefully on Sunday)



on a side note; its taken 4 tries to update this damn post right...so I'm going to go crash before I break something... (hehe)
Phonics Monkey
QUOTE(Singh400 @ May 19 2006, 20:53) *

Dude, T-Clock doesn't look too good on Vista (5381.1)...

IPB Image

Has to be the application because I changed the theme numerous times and it didn't comply with the theme.



This bugg has now been fixed!

I've also added a few more screen shots to the T-Clock page. T-Clock 3 & x64



Thank You
Phonics Monkey
Phonics Monkey
Pardon the Resurection... But I've been working on this over the holidays, killed some buggs, added some stuff, and generally tidied things up a bit. T-Clock 3 & x64


Feedback appreciated

Phonics Monkey
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.