Skip to content
Snippets Groups Projects
Commit 6bbf46a9 authored by Gerard Patel's avatar Gerard Patel Committed by Alexandre Julliard
Browse files

Fileokstring notification should be sent to the custom child dialog,

not to the main dialog.
parent 48d0c5fd
No related branches found
No related tags found
No related merge requests found
......@@ -1522,8 +1522,9 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
/* FIXME we are sending ASCII-structures. Does not work with NT */
/* first old style */
TRACE("---\n");
CallWindowProcA((WNDPROC)fodInfos->ofnInfos->lpfnHook, hwnd,
fodInfos->HookMsg.fileokstring, 0, (LPARAM)fodInfos->ofnInfos);
CallWindowProcA((WNDPROC)fodInfos->ofnInfos->lpfnHook,
fodInfos->DlgInfos.hwndCustomDlg,
fodInfos->HookMsg.fileokstring, 0, (LPARAM)fodInfos->ofnInfos);
if (GetWindowLongA(hwnd, DWL_MSGRESULT))
{
TRACE("cancled\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment