LB_SETCOLUMNWIDTH

An application sends an LB_SETCOLUMNWIDTH message to a multiple-column list box (created with the LBS_MULTICOLUMN style) to set the width, in pixels, of all columns in the list box.

LB_SETCOLUMNWIDTH 
wParam = (WPARAM) cxColumn; // column width in pixels 
lParam = 0;                 // not used; must be zero 
 

Parameters

cxColumn
Value of wParam. Specifies the width, in pixels, of all columns.

Return Values

This message does not return a value.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Requires version 1.0 or later.
  Header: Declared in winuser.h.

See Also

List Boxes Overview, List Box Messages, LB_SETTABSTOPS