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

 

相关文章:

  • 2022-02-11
  • 2022-12-23
  • 2021-12-15
  • 2021-05-07
  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-22
  • 2021-12-27
  • 2022-12-23
  • 2021-04-16
  • 2022-12-23
  • 2021-12-22
相关资源
相似解决方案