CWinApp::OnContextHelp

Handles SHIFT+F1 Help within the application.

afx_msg void OnContextHelp( );

Remarks

You must add an ON_COMMAND( ID_CONTEXT_HELP, OnContextHelp ) statement to your CWinApp class message map and also add an accelerator table entry, typically SHIFT+F1, to enable this member function.

OnContextHelp puts the application into Help mode. The cursor changes to an arrow and a question mark, and the user can then move the mouse pointer and press the left mouse button to select a dialog box, window, menu, or command button. This member function retrieves the Help context of the object under the cursor and calls the Windows function WinHelp with that Help context.

Requirements

Header: afxwin.h

See Also

Reference

CWinApp Class

Hierarchy Chart

CWinApp::OnHelp

CWinApp::WinHelp

Other Resources

CWinApp Members