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. |
A version of this page is also available for
4/8/2010
This message sets the number of parts in a status window and the coordinate of the right edge of each part.
Syntax
SB_SETPARTS wParam = (WPARAM) nParts; lParam = (LPARAM)(LPINT) aWidths; |
Parameters
- nParts
-
Number of parts to set (cannot be greater than 255).
- aWidths
-
Address of an integer array that has the same number of elements as parts specified by nParts. Each element in the array specifies the position, in client coordinates, of the right edge of the corresponding part. If an element is –1, the position of the right edge for that part extends to the right edge of the window.
Return Value
TRUE indicates success. FALSE indicates failure.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |