The information in this article applies to:
SYMPTOMSWhen adding a hook function to the FindText or ReplaceText common dialog box, the dialog box is not shown. However, the hook function is receiving messages and the dialog box window does exist. CAUSEThe hook function is returning FALSE after processing the WM_INITDIALOG message. RESOLUTIONAfter processing the WM_INITDIALOG message in the hook function, return TRUE. If your hook function is setting the focus to a specific control, and therefore should return FALSE, add the following code:
This code ensures that the dialog box is visible.
Additional query words:
Keywords : kbcode kbCmnDlg kbCmnDlgFind kbCmnDlgRepl kbNTOS kbGrpUser kbWinOS |
Last Reviewed: January 26, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |