Condividi tramite


IMEStatus Function

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

Returns an Integer specifying the current Input Method Editor (IME) mode of Microsoft Windows; available in East Asian versions only.

Syntax

IMEStatus

Return Values

The return values for the Japanese locale are as follows:

Constant

Value

Description

vbIMEModeNoControl

0

Don't control IME (default)

vbIMEModeOn

1

IME on

vbIMEModeOff

2

IME off

vbIMEModeDisable

3

IME disabled

vbIMEModeHiragana

4

Full-width Hiragana mode

vbIMEModeKatakana

5

Full-width Katakana mode

vbIMEModeKatakanaHalf

6

Half-width Katakana mode

vbIMEModeAlphaFull

7

Full-width Alphanumeric mode

vbIMEModeAlpha

8

Half-width Alphanumeric mode

The return values for the Korean locale are as follows:

Constant

Value

Description

vbIMEModeNoControl

0

Don't control IME(default)

vbIMEModeAlphaFull

7

Full-width Alphanumeric mode

vbIMEModeAlpha

8

Half-width Alphanumeric mode

vbIMEModeHangulFull

9

Full-width Hangul mode

vbIMEModeHangul

10

Half-width Hangul mode

The return values for the Chinese locale are as follows:

Constant

Value

Description

vbIMEModeNoControl

0

Don't control IME (default)

vbIMEModeOn

1

IME on

vbIMEModeOff

2

IME off