Export (0) Print
Expand All

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;

Nonzero if the list box is visible; otherwise 0.

// The pointer to my combo box.
extern CComboBox* pmyComboBox;

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

Community Additions

ADD
Show:
© 2015 Microsoft