CComboBox::GetDroppedState

Call the GetDroppedState member function to determine whether the list box of a drop-down combo box is visible (dropped down).

BOOL GetDroppedState( ) const;

Return Value

Nonzero if the list box is visible; otherwise 0.

Example

// Show the dropdown list box if it is not already dropped.
if (!m_pComboBox->GetDroppedState())
   m_pComboBox->ShowDropDown(TRUE);

Requirements

Header: afxwin.h

See Also

Concepts

CComboBox Class

CComboBox Members

Hierarchy Chart

CB_SHOWDROPDOWN

CB_GETDROPPEDSTATE