topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 14, 2026, 12:36 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: [1]
1
T-Clock / Text align
« Last post by formicant on December 16, 2017, 04:19 AM »
Is it possible to add an option to change horizontal alignment of the clock text (left, center, right)?

I think, just changing this would be enough:
(DLL → Tclock.c)
Code: C [Select]
  1. int UpdateClock(HWND hwnd, HFONT fnt)
  2. {
  3.   . . .
  4.   if(!m_hdcClock){
  5.     . . .
  6.     SetTextAlign(m_hdcClock,TA_CENTER|TA_TOP);
  7.     . . .
  8.   }
  9.   . . .
  10. }
Pages: [1]