G
Guest
Hi, I'm writing a small component. This component have to display some text
so I have override OnPaint event and I've used DrawString method. No problem
here.
On DrawString I need to set a Font and I would like to use the operating
system default font. How can I get the name, the size and the style of
default font ?
I've seen that for PPC the default seems to be "Tahoma",9,Bold but for WinCE
seems to be "Tahoma",10.
Is there a way to know the default font used by the operating system ?
Thank you in advance.
Keven Corazza
so I have override OnPaint event and I've used DrawString method. No problem
here.
On DrawString I need to set a Font and I would like to use the operating
system default font. How can I get the name, the size and the style of
default font ?
I've seen that for PPC the default seems to be "Tahoma",9,Bold but for WinCE
seems to be "Tahoma",10.
Is there a way to know the default font used by the operating system ?
Thank you in advance.
Keven Corazza