如题

解决方案 »

  1.   

    我的qq是 75660972 希望大家共同在一起探讨问题,我是菜鸟,也很希望得到大家的帮助,和CSDN上的朋友一起成长!
      

  2.   

    派生一个类
    重载
    HBRUSH CMyStatic::CtlColor(CDC* pDC, UINT nCtlColor) 
    {
    // TODO: Change any attributes of the DC here

    // TODO: Return a non-NULL brush if the parent's handler should not be called
    // return NULL;
    ASSERT(nCtlColor == CTLCOLOR_STATIC); pDC->SetBkMode( TRANSPARENT ); return (HBRUSH)GetStockObject( NULL_BRUSH );}
      

  3.   

    使用成员函数.SetStyle()
    括号里的参数请参照即可