comdlg32: fontdlg: Add initialisation for comboboxes.

oldstable
Anatoly Lyutin 2007-02-10 16:34:30 +03:00 committed by Alexandre Julliard
parent 6f49b38a5e
commit bea5ed4fa9
1 changed files with 9 additions and 0 deletions

View File

@ -709,6 +709,15 @@ LRESULT CFn_WMInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam,
SendDlgItemMessageW(hDlg,cmb1,CB_SETCURSEL,0,0);
SendMessageW(hDlg, WM_COMMAND, MAKEWPARAM(cmb1, CBN_SELCHANGE),
(LPARAM)GetDlgItem(hDlg,cmb1));
SendDlgItemMessageW(hDlg,cmb2,CB_SETCURSEL,0,0);
SendMessageW(hDlg, WM_COMMAND, MAKEWPARAM(cmb2, CBN_SELCHANGE),
(LPARAM)GetDlgItem(hDlg,cmb1));
SendDlgItemMessageW(hDlg,cmb3,CB_SETCURSEL,0,0);
SendMessageW(hDlg, WM_COMMAND, MAKEWPARAM(cmb3, CBN_SELCHANGE),
(LPARAM)GetDlgItem(hDlg,cmb3));
SendDlgItemMessageW(hDlg,cmb5,CB_SETCURSEL,0,0);
SendMessageW(hDlg, WM_COMMAND, MAKEWPARAM(cmb5, CBN_SELCHANGE),
(LPARAM)GetDlgItem(hDlg,cmb5));
}
if ((lpcf->Flags & CF_USESTYLE) && lpcf->lpszStyle)
{