[PATCH 06/18] comctl32: TaskDialog - Implement main and content text controls

Fabian Maurer dark.shadow4 at web.de
Sun Feb 26 08:31:45 CST 2017


> >> Why Post*? Dialog handling in user32 has an ability to do this for you.
> > 
> > Ah yes, I forgot about SendDlgItemMessage there.
> 
> What I mean is that dialog code can set control font for you.

How? I'm currently not aware of such a method. You mean DS_SETFONT and a font 
in the DLGTEMPLATE? But then we'd still have the different font sizes to 
handle.

> Different how? In sizes only? Font name should come from
> NONCLIENTMETRICS probably, this needs some manual testing, but it's
> unlikely that system settings are not respected for task dialogs on Windows.

Yes, it's only the font size that's different.

How would you suggest we handle the fonts?

Regards,
Fabian Maurer





More information about the wine-devel mailing list