共用方式為


CWinApp::m_bHelpMode

TRUE if the application is in Help context mode (conventionally invoked with SHIFT + F1); otherwise FALSE.

BOOL m_bHelpMode;

Remarks

In Help context mode, the cursor becomes a question mark and the user can move it about the screen. Examine this flag if you want to implement special handling when in the Help mode. m_bHelpMode is a public variable of type BOOL.

Requirements

Header: afxwin.h

See Also

Reference

CWinApp Class

Hierarchy Chart

Other Resources

CWinApp Members