共用方式為


CKeyboardManager::IsKeyPrintable

Indicates whether a character is printable.

static BOOL __stdcall IsKeyPrintable(
   const UINT nChar
);

Parameters

Parameter

Description

[in] nChar

The character that this method checks.

Return Value

Nonzero if the character is printable, zero if it is not.

Remarks

This method fails if a call to GetKeyboardState fails.

Requirements

Header: afxkeyboardmanager.h

See Also

Reference

CKeyboardManager Class

Hierarchy Chart