3 Apr
2007
3 Apr
'07
9:12 p.m.
"Ivan Sinitsin" <ivan(a)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.
6830
Age (days ago)
6830
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov