Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the framework to draw an expand box control near a property that contains sub-properties.
virtual void OnDrawExpandBox(
CDC* pDC,
CRect rectExpand
);
Parameters
[in] pDC
A pointer to a device context.[in] rectExpand
A bounding rectangle that specifies where to draw the expand box control.
Requirements
Header: afxpropertygridctrl.h
Remarks
Click the expand box control to expand or collapse a list of sub-properties. The expand box control is designated by a square that contains a plus (+) or minus (-) sign. A plus sign indicates that the property can be expanded to show a list of sub-properties. A minus sign indicates that the list can be collapsed to show only the property.