CComboBox::GetExtendedUI

调用 GetExtendedUI 成员函数确定组合框是否具有默认的用户界面或扩展的用户界面。

BOOL GetExtendedUI( ) const;

返回值

非零,如果组合框包含扩展的用户界面;否则为0。

备注

扩展的用户界面可以按下列方式标识:

  • 单击该静态控件只显示该列表框包含 CBS_DROPDOWNLIST 样式的组合框中。

  • 按向下键显示列表框(F4禁用)。

在静态控件的滚动被禁用,当项列表不可见时(箭头键禁用)。

示例

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

要求

Header: afxwin.h

请参见

参考

CComboBox选件类

层次结构图

CComboBox::SetExtendedUI

CB_GETEXTENDEDUI