Compartilhar 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

Reference

CMFCToolBarEditBoxButton Class

Hierarchy Chart

CMFCToolBarButton::OnSize

CEdit Class