次の方法で共有


CMFCPropertyGridProperty::AdjustButtonRect

Called by the parent property list control to tell a property to resize the bounding rectangle of an embedded button.

virtual void AdjustButtonRect();

Remarks

By default, this method:

  • Adjusts the width of the button equal to the height of the button plus 3 pixels.

  • Moves the bounding rectangle of the button to the right edge of the property

  • Shifts the button 1 pixel below the top edge of the property.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridProperty Class

Hierarchy Chart