comdlg32: Initialize file dialog controls before creating dialog.
This commit is contained in:
parent
f8c8355d85
commit
13f18ee759
|
@ -1037,11 +1037,11 @@ INT_PTR CALLBACK FileOpenDlgProc95(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l
|
|||
so it will be easily accessible through a GetPropA(...) */
|
||||
SetPropA(hwnd, FileOpenDlgInfosStr, (HANDLE) fodInfos);
|
||||
|
||||
FILEDLG95_InitControls(hwnd);
|
||||
|
||||
fodInfos->DlgInfos.hwndCustomDlg =
|
||||
CreateTemplateDialog((FileOpenDlgInfos *)lParam, hwnd);
|
||||
|
||||
FILEDLG95_InitControls(hwnd);
|
||||
|
||||
if (fodInfos->DlgInfos.hwndCustomDlg)
|
||||
{
|
||||
RECT rc;
|
||||
|
|
Loading…
Reference in New Issue