Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the minimum number of visible items in the drop-down list of a combo box.
BOOL ComboBox_SetMinVisible(
HWND hwnd,
INT iMinVisible
);
hwnd
Type: HWND
The combo box.
iMinVisible
Type: INT
The minimum number of visible items.
Type: BOOL
If the macro succeeds, it returns TRUE. Otherwise it returns FALSE.
When the number of items in the drop-down list is greater than the minimum, the combo box uses a scroll bar. By default, 30 is the minimum number of visible items.
Combobox_SetMinVisible (hwnd, iMinVisible)
is equivalent to the following call.
SendMessage((hwnd), CB_SETMINVISIBLE, (WPARAM) iMinVisible, 0);
To use ComboBox_SetMinVisible, the application must specify comctl32.dll version 6 in the manifest. For more information, see Enabling Visual Styles.
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 |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!