LPARAM in find dialog wm_initdialog is the find/replace structure, not

custdata.
This commit is contained in:
Gerard Patel 2001-03-08 01:13:34 +00:00 committed by Alexandre Julliard
parent 1c8d0c7fda
commit 0a4b4b3285
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ static BOOL CALLBACK COMDLG32_FindReplaceDlgProc(HWND hDlgWnd, UINT iMsg, WPARAM
/* We do not do ShowWindow if hook exists and is FALSE */
/* per MSDN Article Q96135 */
if((pdata->fr.Flags & FR_ENABLEHOOK)
&& ! pdata->fr.lpfnHook(hDlgWnd, iMsg, wParam, pdata->fr.lCustData))
&& ! pdata->fr.lpfnHook(hDlgWnd, iMsg, wParam, (LPARAM) &pdata->fr))
return TRUE;
ShowWindow(hDlgWnd, SW_SHOWNORMAL);
UpdateWindow(hDlgWnd);