共用方式為


CWinAppEx::GetKeyboardManager

Returns a pointer to the global CKeyboardManager object.

CKeyboardManager* GetKeyboardManager();

Return Value

A pointer to the global CKeyboardManager object.

Remarks

If the keyboard manager is not initialized, this function calls CWinAppEx::InitKeyboardManager before it returns a pointer.

Requirements

Header: afxwinappex.h

See Also

Reference

CWinAppEx Class

Hierarchy Chart

CKeyboardManager Class

CWinAppEx::InitKeyboardManager