Export (0) Print
Expand All

CWinApp::OnContextHelp

Visual Studio 6.0

CWinApp::OnContextHelp

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 http://msdn.microsoft.com/en-us/library/cc448046 with that Help context.

CWinApp OverviewClass MembersHierarchy Chart

See Also   CWinApp::OnHelp, CWinApp::WinHelp

Show:
© 2014 Microsoft