"Correct" Dialog / UI font on Windows

Posted by peterchen on Stack Overflow See other posts from Stack Overflow or by peterchen
Published on 2010-05-31T10:14:00Z Indexed on 2010/05/31 10:42 UTC
Read the original article Hit count: 192

Filed under:
|
|
|

When creating a control (e.g. an edit control) on the fly using CreateWindow, it usually starts out with an ugly (boldish sans serif) font.

Usually I wok around that by grabbing the parent dialog's font, and setting it to the control - I can't even say if this is a good idea.

How do I "legally" fetch the right font?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about gui