Skip to content

Latest commit

 

History

History
77 lines (49 loc) · 2.71 KB

cmfctoolbarcomboboxedit-class.md

File metadata and controls

77 lines (49 loc) · 2.71 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: CMFCToolBarComboBoxEdit Class
CMFCToolBarComboBoxEdit Class
11/04/2016
CMFCToolBarComboBoxEdit
AFXTOOLBARCOMBOBOXBUTTON/CMFCToolBarComboBoxEdit
AFXTOOLBARCOMBOBOXBUTTON/CMFCToolBarComboBoxEdit::CMFCToolBarComboBoxEdit
CMFCToolBarComboBoxEdit [MFC], CMFCToolBarComboBoxEdit
4789c34a-ce58-48ba-a26f-38748b601352

CMFCToolBarComboBoxEdit Class

The framework uses the CMFCToolBarComboBoxEdit class to create a toolbar button that behaves like an editable combo box control.

Syntax

class CMFCToolBarComboBoxEdit : public CEdit

Members

Public Constructors

Name Description
CMFCToolBarComboBoxEdit::CMFCToolBarComboBoxEdit Constructs a CMFCToolBarComboBoxEdit object.
CMFCToolBarComboBoxEdit::~CMFCToolBarComboBoxEdit Destructor.

Public Methods

Name Description
CMFCToolBarComboBoxEdit::PreTranslateMessage Translates window messages before they are dispatched to the TranslateMessage and DispatchMessage Windows functions. (Overrides CWnd::PreTranslateMessage.)

Remarks

Derive a class from the CMFCToolBarComboBoxEdit class to customize its edit operations.

Inheritance Hierarchy

CObject

CCmdTarget

CWnd

CEdit

CMFCToolBarComboBoxEdit

Requirements

Header: afxtoolbarcomboboxbutton.h

CMFCToolBarComboBoxEdit::CMFCToolBarComboBoxEdit

Constructs a CMFCToolBarComboBoxEdit object.

CMFCToolBarComboBoxEdit(CMFCToolBarComboBoxButton& combo);

Parameters

combo
[in] A reference to a CMFCToolBarComboBoxButton object, which is a toolbar button that contains a combo box control.

Example

The following example demonstrates how to construct an object of the CMFCToolBarComboBoxEdit class. This code snippet is part of the IE Demo sample.

[!code-cppNVC_MFC_IEDemo#5]

See also

Hierarchy Chart
Classes
CMFCToolBarComboBoxButton Class