发布时间:2014-01-09 15:36:16
通过映射WM_CTLCOLORHBRUSH ChexdemoDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor){HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);if(pWnd-GetDlgCtrlID==控件ID){pDC->SetTextColor(RGB(255,0,0));}return hbr;}......【阅读全文】
阅读(2989) | 评论(0) | 转发(0)