pathc for printdlg.c
Dmitry Timoshkov
dmitry at codeweavers.com
Tue Apr 3 21:12:01 CDT 2007
"Ivan Sinitsin" <ivan at etersoft.ru> wrote:
> This patch corrects background color of a dialogue window "Print Dialog ". For
> background color of dialog windows it used the background color of class
> DIALOG or the COLOR_BTNFACE.
> + case WM_CTLCOLORDLG:
> + hbr=(HBRUSH)GetClassLongPtrW( hDlg, GCLP_HBRBACKGROUND);
> + if (!hbr) hbr=(HBRUSH)GetSysColorBrush(COLOR_BTNFACE);
> + return hbr;
Why do you need this? Def[Wnd|Dlg]Proc is supposed to handle that.
--
Dmitry.
More information about the wine-devel
mailing list