5226
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?-daddydave (June 16, 2010, 01:06 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.-sagji (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. 21 isn't important because it just a decorative gap to keep the dialog slightly away from neighboring edges.-sagji (June 14, 2010, 04:19 PM)
Or better yet, just use FLAC.I'm not sure if the phone will take a FLAC file, but I'll keep that option in mind.-Renegade (June 13, 2010, 08:13 PM)
Last freeware version: http://www.xup.in/dl...e_I_final_2.6.0.zip/-wr975 (June 13, 2010, 05:59 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.-sagji (June 13, 2010, 07:45 AM)
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...-haydut (June 12, 2010, 04:25 PM)

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.
BTW: Since it was you who ultimately responded to your own post I guess that makes you DC's new webcam go-to guy huh?
-40hz (June 12, 2010, 02:53 PM)

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...-haydut (June 12, 2010, 03:17 AM)). Would that work for you?
-Stoic Joker (June 12, 2010, 09:01 AM)
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.-haydut (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...-haydut (June 12, 2010, 03:17 AM)
). 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.-sagji (June 10, 2010, 05:23 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.
<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.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(...)
Or if you provide a debug version I could step through it and see if I can see anything.
I'm still not sure about folding the thing over the back and using it like a spiral notebook. How do you keep the screen that would then be on the backside from getting scratched up?-Deozaan (June 11, 2010, 02:53 PM)
If anything it's like going to the malicious folks out there and saying "Hey MS is about to fix this hole, quick hurry and exploit it before it's too late!"-Eóin (June 11, 2010, 09:31 AM)
Maybe they have traffic signs (even though I do not see them) but nobody respects them. The right-of-way rule is universal, I think (except probably for people driving on the left side of the road).Definition of Chinese Right-of-Way Rule:-bgd77 (June 11, 2010, 01:47 AM)
my thinking was, use the File menu if you want the print dialog.. use the quick toolbar button if you want a quick immediate printout.-mouser (June 10, 2010, 07:22 AM)
)
it's designed that way on purpose but i could make it an option.-mouser (June 10, 2010, 06:37 AM)