Partager via


ListBox_GetInputMode

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

Reference

Shell Functions
ListBox_SetInputMode