Export (0) Print
Expand All

Edit_GetInputMode

Windows Mobile 6.5
4/8/2010

This function obtains the input mode of the current window.


int Edit_GetInputMode(
  HWND hwndCtl,
  BOOL fActual
);

hwndCtl

The window for which the input mode will be obtained.

fActual

A Boolean value indicating which input mode is retrieved.

Value Description

1 (True)

Retrieves the actual input mode if the window has focus, otherwise retrieves the default input mode.

0 (False)

Retrieves the default input mode.

EIM_SPELL

Spell input mode.

EIM_AMBIG

Ambiguous mode if input engine supports this mode, otherwise defaults to Spell input mode.

EIM_NUMBERS

Numbers mode.

EIM_TEXT

The user's preferred mode. This is the user's last Spell or Ambiguous mode selection in an EIM_TEXT edit control.

EIM_MASK

Mask to access mode.

EIM_MODE(x)

Macro to access mode.

EIMMF_SETCLR_SHIFT

In. Used to set/clear Shift.

EIMMF_SETCLR_CAPSLOCK

In. Used to set/clear CapsLock.

EIMMF_SHIFT

In/Out. Shift state.

EIMMF_CAPSLOCK

In/Out. CapsLock state.

EIMMF_MASK

Mask to access modifier flags.

EIM_MODIFIERS(x)

Macro to access modifier flags.

Headerwindowsm.h
Windows Embedded CEWindows CE 3.0 and later
Windows MobileSmartphone 2002 and later

Community Additions

ADD
Show:
© 2014 Microsoft