Q140676: PRB: ClassWizard Uses WM_HELPINFO Instead of WM_HELP
Article: Q140676
Product(s): Microsoft C Compiler
Version(s): 4.0,4.1,4.2,5.0,6.0
Operating System(s):
Keyword(s): kbProgramming kbtool kbwizard kbCSHelp kbMFC kbVC400 kbVC500 kbVC600 kbClassWizard kbGr
Last Modified: 11-JUN-2002
-------------------------------------------------------------------------------
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), used with:
- Microsoft Visual C++, 32-bit Editions, versions 4.0, 4.1
- Microsoft Visual C++, 32-bit Enterprise Edition, versions 4.2, 5.0, 6.0
- Microsoft Visual C++, 32-bit Professional Edition, versions 4.2, 5.0, 6.0
- Microsoft Visual C++, 32-bit Learning Edition, version 6.0
-------------------------------------------------------------------------------
SYMPTOMS
========
When you use ClassWizard to add a handler for the WM_HELP message, the message
is not listed in the Messages list box. Instead, the message is listed as
WM_HELPINFO.
RESOLUTION
==========
Select WM_HELPINFO to add a handler for WM_HELP.
MORE INFORMATION
================
Previous versions of MFC define OnHelp as the function to handle the WM_COMMAND
message with ID_HELP. To avoid conflicts with this message handler, MFC 4.x and
higher use OnHelpInfo as the name of the function that handles the WM_HELP
message. So ClassWizard shows the WM_HELP message as WM_HELPINFO.
Additional query words:
======================================================================
Keywords : kbProgramming kbtool kbwizard kbCSHelp kbMFC kbVC400 kbVC500 kbVC600 kbClassWizard kbGrpDSMFCATL
Technology : kbAudDeveloper kbMFC
Version : :4.0,4.1,4.2,5.0,6.0
Issue type : kbprb
=============================================================================
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.