关于CDC::Draw3dRect
void CDC::Draw3dRect(LPCRECT
lpRectCOLORREF
clrTopLeft, ,
COLORREF
clrBottomRight);
COLORREF
clrBottomRight);
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.
COLOR_BTNHILIGHT Highlight color for three-dimensional display elements (for edges facing the light source.)
例如:
pDC->Draw3dRect(pRect, ::GetSysColor(COLOR_BTNSHADOW),
::GetSysColor(COLOR_BTNHILIGHT));