CDC::Draw3dRect

void Draw3dRect( LPCRECT lpRect, COLORREF clrTopLeft, COLORREF clrBottomRight );

void Draw3dRect( int x, int y, int cx, int cy, COLORREF clrTopLeft, COLORREF clrBottomRight );

Parameters

lpRect

Specifies the bounding rectangle (in logical units). You can pass either a pointer to a RECT structure or a CRect object for this parameter.

clrTopLeft

Specifies the color of the top and left sides of the three-dimensional rectangle.

clrBottomRight

Specifies the color of the bottom and right sides of the three-dimensional rectangle.

x

Specifies the logical x-coordinate of the upper-left corner of the three-dimensional rectangle.

y

Specifies the logical y-coordinate of the upper-left corner of the three-dimensional rectangle.

cx

Specifies the width of the three-dimensional rectangle.

cy

Specifies the height of the three-dimensional rectangle.

Remarks

Call this member function to draw a three-dimensional rectangle. The rectangle will be drawn with the top and left sides in the color specified by clrTopLeft and the bottom and right sides in the color specified by clrBottomRight.

CDC OverviewClass MembersHierarchy Chart

See Also   RECT, CRect