ComboBox_GetMinVisible macro (commctrl.h)
Gets the minimum number of visible items in the drop-down list of a combo box.
Syntax
INT ComboBox_GetMinVisible(
HWND hwnd
);
Parameters
hwnd
Type: HWND
Specifies the combo box.
Return value
Type: INT
The return value is the minimum number of visible items.
Remarks
When the number of items in the drop-down list is greater than the minimum, the combo box uses a scroll bar.
To use ComboBox_GetMinVisible, the application must specify comctl32.dll version 6 in the manifest. For more information, see Enabling Visual Styles.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |