共用方式為


CComboBoxEx::GetComboBoxCtrl

Call this member function to get a pointer to a combo box control within a CComboBoxEx object.

CComboBox* GetComboBoxCtrl( );

Return Value

A pointer to a CComboBox object.

Remarks

The CComboBoxEx control consists of a parent window, which encapsulates a CComboBox.

The CComboBox object pointed to by the return value is a temporary object and is destroyed during the next idle processing time.

Requirements

Header: afxcmn.h

See Also

Reference

CComboBoxEx Class

Hierarchy Chart

CComboBoxEx::GetEditCtrl