--- In [email protected], "entropyreduction"
<alancampbelllists+ya...@...> wrote:
>
> --- In [email protected], "Sheri" <sherip99@> wrote:
> >
> > 
> > TempBar.NewProperties("fontname = Arial\nfontinfo = Bold Size: 10")
> > 
> > if the argument is literal, the \n needs evaluating.
> > 
> > > Fixed, I think.
> 
> > Not clear if you were aiming to fix by actually retrieving the
> > correct values or just to default to System Bold 12 when the
> > target is a whole bar or its PowerProChildToolbar?
> 
> All I can do is send a WM_GETFONT to a window. It can return
> NULL, which means either the window doesn't handle WM_GETFONT, or
> that it's using the system font; I can't tell which.
> 
> In such a case I can either have dialg.get_value(hwnd, "font")
> return a null string or something like "NO FONT".  Your preference?
>

I guess null string is fine. If dialog.choose_font runs on a target
like that I think I would prefer that it open with no font
pre-selected. If one needs to be selected, probably the stock gui font
would be preferable to system font.

Regards,
Sheri

Reply via email to