Valhalla Legends Forums Archive | General Programming | Window Text Staying Bold

AuthorMessageTime
Maddox
It seems that in every application that does not use a resource to create its window and uses CreateWindow(Ex) to do it, ends up having its Window Text permanently bold. I've tried setting the font of the window with WM_SETFONT with FW_NORMAL for the font weight but that does not affect it at all.

I can't think of what might be causing it, has anyone else ever had this problem?
April 13, 2004, 9:09 PM
Skywing
Maybe you changed the default caption text style with SystemParametersInfo or the Desktop/Display Control Panel applet?
April 15, 2004, 7:31 AM
Maddox
[quote author=Skywing link=board=5;threadid=6291;start=0#msg55225 date=1082014297]
Maybe you changed the default caption text style with SystemParametersInfo or the Desktop/Display Control Panel applet?
[/quote]

Then wouldn't it change for a lot of other programs as well? At any rate, I should be able to prevent the window text from being bold.
April 15, 2004, 8:07 AM
Skywing
[quote author=Maddox link=board=5;threadid=6291;start=0#msg55226 date=1082016478]
[quote author=Skywing link=board=5;threadid=6291;start=0#msg55225 date=1082014297]
Maybe you changed the default caption text style with SystemParametersInfo or the Desktop/Display Control Panel applet?
[/quote]

Then wouldn't it change for a lot of other programs as well? At any rate, I should be able to prevent the window text from being bold.
[/quote]
Maybe I'm misunderstanding, but you made it seem like a system-wide issue.
April 15, 2004, 5:55 PM
Maddox
[quote author=Skywing link=board=5;threadid=6291;start=0#msg55278 date=1082051735]
[quote author=Maddox link=board=5;threadid=6291;start=0#msg55226 date=1082016478]
[quote author=Skywing link=board=5;threadid=6291;start=0#msg55225 date=1082014297]
Maybe you changed the default caption text style with SystemParametersInfo or the Desktop/Display Control Panel applet?
[/quote]

Then wouldn't it change for a lot of other programs as well? At any rate, I should be able to prevent the window text from being bold.
[/quote]
Maybe I'm misunderstanding, but you made it seem like a system-wide issue.
[/quote]

Silly me, I was sending WM_SETFONT to the parent window thinking it would set the font for all child windows or child windows created thereafter.
April 15, 2004, 8:54 PM

Search