CMFCToolBarComboBoxButton::CreateEdit
Creates a new edit box for the combo box button.
virtual CMFCToolBarComboBoxEdit* CreateEdit(
CWnd* pWndParent,
const CRect& rect,
DWORD dwEditStyle
);
Parameters
[in] pWndParent
A pointer to the parent window of the button.[in] rect
Bounding rectangle of the new edit box.[in] dwEditStyle
Control style of the new edit box.
Return Value
A pointer to the new edit box if the method was successful; otherwise, NULL.
Remarks
The framework calls this method when it creates a new edit box for a combo box button. Override this method to change how CMFCToolBarComboBoxEdit is created.
Requirements
Header: afxtoolbarcomboboxbutton.h