Share via


CComboBox::SetExtendedUI

intSetExtendedUI(BOOLbExtended**=TRUE);**

Return Value

CB_OKAY if the operation is successful, or CB_ERR if an error occurs.

Parameters

bExtended

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.

Remarks

Call the SetExtendedUI member function 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.

The extended user interface can be identified in the following ways:

  • Clicking the static control displays the list box only for combo boxes with the CBS_DROPDOWNLIST style.

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

Scrolling in the static control is disabled when the item list is not visible (the arrow keys are disabled).

Example

See the example for CComboBox::GetExtendedUI.

CComboBox OverviewClass MembersHierarchy Chart

See Also   CComboBox::GetExtendedUI,