CBrush *pBrush=CBrush::FromHandle((HBRUSH)GetStockObject(NULL_BRUSH));
LOGBRUSH tempBrush;
pBrush->GetLogBrush(&tempBrush);
dc.FillSolidRect(&m_StaticRect,tempBrush.lbColor); //透明画刷的颜色为黑色。
CBrush *pBrush=CBrush::FromHandle((HBRUSH)GetStockObject(NULL_BRUSH));
LOGBRUSH tempBrush;
pBrush->GetLogBrush(&tempBrush);
dc.FillSolidRect(&m_StaticRect,tempBrush.lbColor); //透明画刷的颜色为黑色。