摘要: //定义画刷CBrushm_greenBrush;//在构造函数中初始化m_greenBrush.CreateSolidBrush(RGB(210,230,190));//实现函数(改变FromView与static控件的背景色,更改其他方法类似,//在nCtrlColor处添加)HBRUSHCErrKbaseSearchView::OnCtlColor(CDC*pDC,CWnd*pWnd,UINTnCtlColor){HBRUSHhbr=CFormView::OnCtlColor(pDC,pWnd,nCtlColor);if(nCtlColor==CTLCOLOR_DLG||nCtlColo 阅读全文
posted @ 2008-08-24 14:43 Socrates 阅读(144) 评论(0) 推荐(0) 编辑