Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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