摘要: 一般是这么做1.对话框添加两个消息处理。afx_msg BOOL OnEraseBkgnd(CDC* pDC); afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); 2.这样来写具体实现View Code 1 BOOL CConfigDlg::OnEraseBkgnd(CDC* pDC) 2 { 3 CRect rt; 4 GetClientRect( &rt); 5 HDC hdc = pDC->GetSafeHdc(); 6 HDC hMemdc = CreateCompat... 阅读全文
posted @ 2013-04-11 15:49 水上云天 阅读(3745) 评论(0) 推荐(0) 编辑