--- In [email protected], "entropyreduction" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "swzoh" <seanzoh@> 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.

I thought set_font(hDlg, 0, hFont) would be enough for the whole, but
maybe not.

> 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?

Will the plugin itself delete the setted fonts when the dialog is
closed? If I don't have to take further care of the created fonts,
then, it's sufficient with me.

> 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?

Well, as I myself rarely change fonts, just a service in dialog plugin
would be enough. Not sure about other users.

Sean






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/

<*> 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