Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Set the width by which a list box can be scrolled horizontally (the scrollable width). If the width of the list box is smaller than this value, the horizontal scroll bar horizontally scrolls items in the list box. If the width of the list box is equal to or greater than this value, the horizontal scroll bar is hidden. You can use this macro or send the LB_SETHORIZONTALEXTENT message explicitly.
Syntax
void ListBox_SetHorizontalExtent(
HWND hwndCtl,
int cxExtent
);
Parameters
hwndCtl
Type: HWND
A handle to the control.
cxExtent
Type: int
The number of pixels by which the list box can be scrolled.
Return value
None
Remarks
For more information, see LB_SETHORIZONTALEXTENT.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | windowsx.h |