SB_SETPARTS message

Sets the number of parts in a status window and the coordinate of the right edge of each part.

Parameters

wParam

Number of parts to set (cannot be greater than 256).

lParam

Pointer to an integer array. The number of elements is specified in wParam. Each element specifies the position, in client coordinates, of the right edge of the corresponding part. If an element is -1, the right edge of the corresponding part extends to the border of the window.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h