PRB: ClassWizard Uses WM_HELPINFO Instead of WM_HELP
Article ID: 140676
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Foundation Class Library 4.2, when used with:
- Microsoft Visual C++ 4.0 Standard Edition
- Microsoft Visual C++ 4.1 Subscription
- Microsoft Visual C++ 4.2 Enterprise Edition
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ 4.2 Professional Edition
- Microsoft Visual C++ 5.0 Professional Edition
- Microsoft Visual C++ 6.0 Professional Edition
- Microsoft Visual C++ 6.0 Standard Edition
This article was previously published under Q140676
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.
Keywords: kbcshelp kbprb kbprogramming kbwizard KB140676