topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • January 23, 2018, 09:49 PM
  • Proudly celebrating 10 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

Author Topic: Text align  (Read 224 times)

formicant

  • Participant
  • Joined in 2017
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
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. }