Fileokstring notification should be sent to the custom child dialog,

not to the main dialog.
This commit is contained in:
Gerard Patel 2000-12-07 23:54:19 +00:00 committed by Alexandre Julliard
parent 48d0c5fd65
commit 6bbf46a964
1 changed files with 3 additions and 2 deletions

View File

@ -1522,7 +1522,8 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
/* FIXME we are sending ASCII-structures. Does not work with NT */ /* FIXME we are sending ASCII-structures. Does not work with NT */
/* first old style */ /* first old style */
TRACE("---\n"); TRACE("---\n");
CallWindowProcA((WNDPROC)fodInfos->ofnInfos->lpfnHook, hwnd, CallWindowProcA((WNDPROC)fodInfos->ofnInfos->lpfnHook,
fodInfos->DlgInfos.hwndCustomDlg,
fodInfos->HookMsg.fileokstring, 0, (LPARAM)fodInfos->ofnInfos); fodInfos->HookMsg.fileokstring, 0, (LPARAM)fodInfos->ofnInfos);
if (GetWindowLongA(hwnd, DWL_MSGRESULT)) if (GetWindowLongA(hwnd, DWL_MSGRESULT))
{ {