Dela via


CMFCToolBarEditBoxButton::OnSize

Called by the framework when the parent toolbar changes its size or position and this change causes the button to change size.

virtual void OnSize(
   int iSize
);

Parameters

  • [in] iSize
    The new width of the button, in pixels.

Remarks

This method overrides the default class implementation, CMFCToolBarButton::OnSize, by updating the size and position of the internal CEdit object.

Requirements

Header: afxtoolbareditboxbutton.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBarEditBoxButton Class

CMFCToolBarButton::OnSize

CEdit Class