Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

This function gets the input mode for the specified list box. This is supported for single selection list boxes.

Syntax

int ListBox_GetInputMode(
  HWND 
hwndCtl,
  BOOL 
fActual
);

Parameters

hwndCtl

The list box for which the input mode will be retrieved.

fActual

A Boolean value indicating which input mode is retrieved.

Value Description

1 (True)

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

0 (False)

Retrieves the default input mode.

Return Value

EIM_SPELL

Spell input mode.

EIM_NUMBERS

Numbers mode.

Requirements

Header windowsm.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Smartphone 2002 and later

See Also