ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > T-Clock

Text align

(1/1)

formicant:
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 ---int UpdateClock(HWND hwnd, HFONT fnt){  . . .  if(!m_hdcClock){    . . .    SetTextAlign(m_hdcClock,TA_CENTER|TA_TOP);    . . .  }  . . .}

Navigation

[0] Message Index

Go to full version