Partager via


CMFCToolBarEditBoxButton::CMFCToolBarEditBoxButton

Constructs a CMFCToolBarEditBoxButton Class object.

CMFCToolBarEditBoxButton(
   UINT uiID,
   int iImage,
   DWORD dwStyle=ES_AUTOHSCROLL,
   int iWidth=0 
);

Parameters

  • [in] uiID
    Specifies the control ID.

  • [in] iImage
    Specifies the zero-based index of a toolbar image. The image is located in the CMFCToolBarImages Class object that CMFCToolBar Class class maintains.

  • [in] dwStyle
    Specifies the edit control style.

  • [in] iWidth
    Specifies the width in pixels of the edit control.

Remarks

The default constructor sets the edit control style to the following combination:

WS_CHILD | WS_VISIBLE | ES_AUTOHSCROLL

The default width of the control is 150 pixels.

Requirements

Header: afxtoolbareditboxbutton.h

See Also

Reference

CMFCToolBarEditBoxButton Class

Hierarchy Chart