The information in this article applies to:
SYMPTOMSWhen you invoke context-sensitive Help for some OLE common dialogs using the "?" button on the title bar or the F1 key, a window with the Help text appears along with the following error message: This problem happens only with MFC 4.2 and later versions. CAUSEThis problem is caused by a bug in the OLE common dialog implementation. After handling the WM_HELP message and displaying the window with the Help text, the OLE common dialog forwards the message to the parent of the common dialog. Because this Help ID does not exist in the .hlp file for the project, an error message is displayed saying that the Help topic does not exist. RESOLUTIONBecause the WM_HELP message is propagated to the parent, the workaround involves handling the message in the parent and preventing the error message from appearing. The following code does this:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONTo reproduce this problem, build and run the OCLIENT sample that shipped with Visual C++ 4.2 or later. From the edit menu, select Insert Object. This brings up the COleInsertDialog. Now, using the "?" button or pressing the F1 key, bring up context-sensitive Help for any of the controls. You will notice that along with the Help text window, an error message also appears. Additional query words: kbVC420bug kbDSupport ole common dialog context sensitive help kbvc500bug kbvc600bug
Keywords : kbcode kberrmsg kbole kbMFC kbVC kbVC420bug kbVC500bug kbVC600 kbVC600bug |
Last Reviewed: August 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |