2013年12月5日
摘要: HDC PrintDC; DOCINFO docin; docin.cbSize = sizeof(DOCINFO); docin.lpszDocName = "TestDoc"; docin.lpszOutput = NULL; CPrintDialog PrintDialog(TRUE,PD_ALLPAGES|PD_NOPAGENUMS,NULL); // if(!PrintDialog.GetDefaults()) return ; //如果不用打印设置对话框,使这一行有效 if(PrintDialog.DoModal()!=IDOK) return; //显示打印设 阅读全文
posted @ 2013-12-05 17:22 carekee 阅读(1403) 评论(0) 推荐(0)