2009年11月16日
摘要: 1.HDC m_hdc= this->GetDC()->GetSafeHdc(); //this 是当前CDialog的指针,在Initial里面可以用.2.CPaintDC dc(this);dc.GetSafeHdc();//在paint里面可以用这个,dc.GetSafeHdc()既为hdc. 阅读全文
posted @ 2009-11-16 17:43 apple0809 阅读(211) 评论(0) 推荐(0)