Fileokstring notification should be sent to the custom child dialog,
not to the main dialog.
This commit is contained in:
parent
48d0c5fd65
commit
6bbf46a964
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue