ComboBox_GetMinVisible macro

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

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

See also

CB_GETMINVISIBLE

 

 

Community Additions

ADD
Show:
© 2014 Microsoft