Guess that you about a code in first message.
I don't see that DEFAULT_GUI_FONT doesn't work under NT and here it's not important
Code:
For i = 1 To 3 PostMessage GetDlgItem(CbHndl, 100 + i), %WM_SETFONT, hFont1, 1 Next
Under 2000 I see correct font in Textbox only.
In button and label - bold font, the same size, but another charset.
What this means ?
TextOut, DrawText, as I mentioned, works with charsets correctly also.
So, in my understanding, buttons/static ... do not use hFont in WM_SETFONT directly. They create a new font.
------------------
E-MAIL: [email protected]
Leave a comment: