--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "entropyreduction" <powerp@> wrote:
> >
> Probably people would expect to see the properties in the Window's
> Font Selection dialog: Face name, Height, Weight, Italic, Underline,
> StrikeOut (not sure about CharSet). And, IMHO, CreateFont is
> preferable over CreateFontIndirect with LogFont.

Ok.  And yes, looked further, CreateFont looks better.
 
> > 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?
 
> It may be sufficient to provide just one service set_font, and not on
> the level of define/define_control.

If I'm gonna do one, might as well do the other.  If you have
a dialog with 20 controls, and want the whole thing in Lucida 7 pt,
pain to have to make 21 set_font calls.

However, in the short term, might be able to make 

  set_font(hDlg, ctrlId, hFont)

where you provide an HFONT (in other words, user makes a call to dll
plugin to do a CreateFont).  That not friendly enough for
all scripters, but do for you for now?

Next Q: any use for font.dll plugin?  In other words do I build this
into dialog, or make a separate dll for font stuff?  Q is, anything
else that can be done with fonts aside from changing dialog controls?







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/
 


Reply via email to