Hi,
Ugh. I knew there was a reason I hadn't go involved in fonts.
Here's
typedef struct tagLOGFONT { // lf
LONG lfHeight;
LONG lfWidth;
LONG lfEscapement;
LONG lfOrientation;
LONG lfWeight;
BYTE lfItalic;
BYTE lfUnderline;
BYTE lfStrikeOut;
BYTE lfCharSet;
BYTE lfOutPrecision;
BYTE lfClipPrecision;
BYTE lfQuality;
BYTE lfPitchAndFamily;
TCHAR lfFaceName[LF_FACESIZE];
} LOGFONT;
If I'm gonna be thorough about it, I need to quite a few of those
properties.
It would be silly to make most or all of those characteristics of a
control.
Therefore I'll need to introduce create_font, which returns a handle
to a font object, which can optionally be used as a property of a control.
If you read up on LOGFONT, which you probably have, it's messy; lots
of constants to be defined.
Do we need:
lfQuality, lfClipPrecision, lfOutPrecision, lfPitchAndFamily
Probably can dispense with PointSize and therefore suppress lfWidth
and lfHeight
Do you want to be able to set a font for the whole dialog,
which in practice means the caption as well as all controls?
This ain't happening any time soon.
------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~->
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/power-pro/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/