ComboBox_GetMinVisible macro (commctrl.h)

Gets the minimum number of visible items in the drop-down list of a combo box.

Syntax

void ComboBox_GetMinVisible(
   hwnd
);

Parameters

hwnd

Type: HWND

Specifies the combo box.

Return value

None

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

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h

See also

CB_GETMINVISIBLE