Messages - formicant [ switch to compact view ]

Pages: [1]
1
T-Clock / Text align
« 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]
Go to full version