I have two basic font questions.
How can I get the properties of a control's current font?
How can I change those properties?
Do I have to use Font New to create a new font, then use it by applying Control Set Font?
I know I can use WM_GetFont to get a handle on the current font. Can I use that to to simply change one or more properties of the current font?
I'd like to be able to display the properties of a control's current font.
I searched through the forums, expecting multiple examples but didn't find an answer. Lots of font discussions, but never quite the one I was looking for. When I don't find something I expect to see discussed frequently, it makes me wonder how other programmers solve the problem - apparently differently than I might have expected.
I read at MSDN that a LOGFONT structure is used to hold the font properties, but I'm not familiar with accessing/changing its member values.
How can I get the properties of a control's current font?
How can I change those properties?
Do I have to use Font New to create a new font, then use it by applying Control Set Font?
I know I can use WM_GetFont to get a handle on the current font. Can I use that to to simply change one or more properties of the current font?
I'd like to be able to display the properties of a control's current font.
I searched through the forums, expecting multiple examples but didn't find an answer. Lots of font discussions, but never quite the one I was looking for. When I don't find something I expect to see discussed frequently, it makes me wonder how other programmers solve the problem - apparently differently than I might have expected.
I read at MSDN that a LOGFONT structure is used to hold the font properties, but I'm not familiar with accessing/changing its member values.
Comment