CB_SETEXTENDEDUI

CB_SETEXTENDEDUI

wParam = (WPARAM) (BOOL) fExtended; /* extended UI flag */

lParam = 0; /* not used, must be zero */

An application sends a CB_SETEXTENDEDUI message to select either the default user interface or the extended user interface for a combo box that has the CBS_DROPDOWN or CBS_DROPDOWNLIST style.

Parameters

fExtended

Value of wParam. Specifies whether the combo box should use the extended user interface or the default user interface. A value of TRUE selects the extended user interface; a value of FALSE selects the standard user interface.

Return Value

The return value is CB_OKAY if the operation is successful, or CB_ERR if an error occurred.

Comments

The extended user interface differs from the default user interface in the following ways:

Clicking the static text field displays the list box (CBS_DROPDOWNLIST style only).

Pressing DOWN displays the list box (F4 is disabled).

Scrolling in the static text field is disabled when the item list is not visible (the direction keys are disabled).

See Also

CB_GETEXTENDEDUI