首页 > TAG信息列表 > MyBrush
MFC--绘图
画刷 //CBrush* pBrush = CBrush::FromHandle((HBRUSH)GetStockObject(NULL_BRUSH)); CBrush MyBrush; MyBrush.CreateSolidBrush(RGB(0, 0, 255));//创建红色画刷 dc.SelectObject(&MyBrush); dc.RoundRect(250, 20, 350, 100, 35,MFC--绘图
画刷 //CBrush* pBrush = CBrush::FromHandle((HBRUSH)GetStockObject(NULL_BRUSH)); CBrush MyBrush; MyBrush.CreateSolidBrush(RGB(0, 0, 255));//创建红色画刷 dc.SelectObject(&MyBrush); dc.RoundRect(250, 20, 350, 100, 35,