[原创]使用MFC实现文档打印
1.调用方法_打印预览CPrintFrame*pWndPrint=newCPrintFrame;CCreateContextcontext;context.m_pNewViewClass=RUNTIME_CLASS(CPrintView);context.m_pCurrentFrame=pWndPrint;context.m_pCurrentDoc=NULL;context.m_pLastView=NULL;pWndPrint->Create(NULL,"打印",WS_OVERLAPPEDWINDOW,CFrameWnd::rectDefault,NULL,NULL,0,&
用户评论