Share via


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

Reference

CComboBox Class

Hierarchy Chart

CB_SHOWDROPDOWN

CB_GETDROPPEDSTATE