摘要:
在view类中添加以下三个函数:BOOL CTestestView::WriteWindowToDIB(LPTSTR szFile, CWnd *pWnd){ CBitmap bitmap; CWindowDC dc(pWnd); CDC memDC; CRect rect; memDC.CreateCompatibleDC(&dc); pWnd->GetWindowRect(rect); bitmap.CreateCompatibleBitmap(&dc,rect.Width(),rect.Height()); CBitmap* pOldBitmap=memDC.Sel 阅读全文
posted @ 2012-12-15 15:42
yifeier12
阅读(890)
评论(0)
推荐(0)
浙公网安备 33010602011771号