共用方式為


CKeyboardManager::CleanUp

Frees the CKeyboardManager resources and clears all shortcut key mappings.

static void CleanUp();

Remarks

For more information about shortcut keys, see Keyboard and Mouse Customization.

You do not have to call this function when your application exits because the framework calls it automatically during application exit.

Requirements

Header: afxkeyboardmanager.h

See Also

Reference

CKeyboardManager Class

Hierarchy Chart

CMFCAcceleratorKey Class

CMFCAcceleratorKeyAssignCtrl Class

Concepts

Keyboard and Mouse Customization