Compartilhar via


CMFCPropertyGridProperty::AdjustInPlaceEditRect

Retrieves the boundaries of the text box and optional spin button control that are used to set a property value.

virtual void AdjustInPlaceEditRect(
   CRect& rectEdit,
   CRect& rectSpin
);

Parameters

  • [out] rectEdit
    When this method returns, a rectangle that specifies the boundaries of the text box for the property value.

  • [out] rectSpin
    When this method returns, a rectangle that specifies the boundaries of the spin button control for the property value. Or, if the property does not support a spin button, an empty rectangle.

Remarks

The value area of a property consists of a text box and possibly an option button, such as a spin button control. This method calculates the dimensions of the text box and option button and then returns those values in the specified parameters.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridProperty Class

Hierarchy Chart

CRect Class

CMFCPropertyGridProperty::EnableSpinControl