jstolan
asked on
Setting the font for a windows title bar
Is there an easy way to set the font used in a window's title bar. I do not want to change the overall system properties, just the font in certain windows. I would prefer to avoid using non-client draw messages.
Any suggestions?
Any suggestions?
I can send you the code, but it's in Visual Basic 5, but it uses API -- so you will easily convert it to C
OK?
OK?
ASKER
To topol
If I can adapt it, I will gladly give you the points. My E-mail is
jstolan@ossconsulting.com
PS to Belgarat WM_SETFONT doesn't work
If I can adapt it, I will gladly give you the points. My E-mail is
jstolan@ossconsulting.com
PS to Belgarat WM_SETFONT doesn't work
topol: can you send me your code too ? e-mail is svatopluk.dedic@st.mff.cun i.cz.
Thanks in advance :-)
Thanks in advance :-)
topol: can you send me your code too ? e-mail is shaig@inter.net.il
Thanks in advance :-)
Thanks in advance :-)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks piano_boxer, that's just what I was looking for. I must admit it was a little more complicated than I thought. I was able to simplify your sample quite a bit, as all I really needed was to change the font so Kanji characters would be guaranteed to be displayed.
Topol, I got your E-mail. But in fairness, piano-boxer's example was more appropriate since it was in MFC. If you would like some points, leave a message here and I will put up a special question for you.
Topol, I got your E-mail. But in fairness, piano-boxer's example was more appropriate since it was in MFC. If you would like some points, leave a message here and I will put up a special question for you.
The only way I think about is to handle WM_NCPAINT in your program.