CComboBox

This class encapsulates the functionality of a Windows CE combo box., which is a control that combines a list box with either an edit control or static control.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Remarks

Because Windows CE does not support owner-drawn combo boxes, you cannot specify ODS_COMBOBOXEDIT in the itemState member of a DRAWITEMSTRUCT structure, or specify ODT_COMBOBOX in the CtlType member of a DRAWITEMSTRUCT or a MEASUREITEMSTRUCT structure.

Use the following FrameWnd methods to manipulate combo boxes in a Windows CE application's command bar:

MFC for Windows CE does not support the Ccombobx::Dir method.

See Also

CWnd, CButton, CEdit, CListBox, CScrollBar, CStatic, CDialogCFrameWnd::AddComboBoxString CFrameWnd::GetComboCount, CFrameWnd::GetComboCurSel, CFrameWnd::InsertComboBox, CFrameWnd::SetComboCurSel, DRAWITEMSTRUCT, MEASUREITEMSTRUCT, Control Classes