Export (0) Print
Expand All

CComboBox::GetExtendedUI 

Call the GetExtendedUI member function to determine whether a combo box has the default user interface or the extended user interface.


BOOL GetExtendedUI( ) const;

Nonzero if the combo box has the extended user interface; otherwise 0.

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 (arrow keys are disabled).

// The pointer to my combo box.
extern CComboBox* pmyComboBox;

// Use the extended UI if it is not already set.
if (!pmyComboBox->GetExtendedUI())
   pmyComboBox->SetExtendedUI(TRUE);

Community Additions

ADD
Show:
© 2015 Microsoft