Share via


ListBox_SetInputMode

4/8/2010

This function sets the default input mode used by the specified list box when the list box has focus.

Syntax

BOOL ListBox_SetInputMode(
  HWND hwndCtl,
  int nInputMode
);

Parameters

  • hwndCtl
    Handle to the list box for which the input mode will be set.
  • nInputMode
    The input mode to which the list box will be set. The possible values for this parameter are the values that are returned from ListBox_GetInputMode.

Return Value

Returns non-zero if successful.

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_GetInputMode