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,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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue