Freigeben über


CComboBox::GetDroppedState

Rufen Sie die GetDroppedState-Memberfunktion auf, um zu bestimmen, ob das Listenfeld eines Dropdown-Kombinationsfelds sichtbar ist (unten) abgelegt.

BOOL GetDroppedState( ) const;

Rückgabewert

Ungleich 0 (null), wenn das Listenfeld sichtbar ist; 0 andernfalls.

Beispiel

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

Anforderungen

Header: afxwin.h

Siehe auch

Referenz

CComboBox-Klasse

Hierarchiediagramm

CB_SHOWDROPDOWN

CB_GETDROPPEDSTATE