Messages - WhiteTigX [ switch to compact view ]

Pages: prev1 ... 20 21 22 23 24 [25] 26 27 28 29 30 ... 33next
121
T-Clock / Re: T-Clock 2010 (download)
« 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.

122
T-Clock / Re: T-Clock 2010 (download)
« 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);

123
T-Clock / Re: T-Clock 2010 (download)
« 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?

124
T-Clock / Re: T-Clock 2010 (download)
« 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

125
T-Clock / Re: T-Clock 2010 (download)
« 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...

Pages: prev1 ... 20 21 22 23 24 [25] 26 27 28 29 30 ... 33next
Go to full version