Description: Small experiment in the view class ondraw function add the code, the program runs, the class object with CClientDC dc art graphics and paintings with the CDC object pointer graphic can be displayed in the client area, but the print preview only shows CDC object pointer to draw the graphics, because the print preview, use the CDC class device context object, and view it as an argument to the function class ondraw
To Search:
File list (Check if you may need any files):
10.打印\print0\MainFrm.cpp
.......\......\MainFrm.h
.......\......\print0.clw
.......\......\print0.cpp
.......\......\print0.dsp
.......\......\print0.dsw
.......\......\print0.h
.......\......\print0.ncb
.......\......\print0.opt
.......\......\print0.plg
.......\......\print0.rc
.......\......\print0Doc.cpp
.......\......\print0Doc.h
.......\......\print0View.cpp
.......\......\print0View.h
.......\......\ReadMe.txt
.......\......\res\print0.ico
.......\......\...\print0.rc2
.......\......\...\print0Doc.ico
.......\......\...\Toolbar.bmp
.......\......\Resource.h
.......\......\StdAfx.cpp
.......\......\StdAfx.h
.......\.....1\MainFrm.cpp
.......\......\MainFrm.h
.......\......\ReadMe.txt
.......\......\res\Toolbar.bmp
.......\......\...\打印.ico
.......\......\...\打印.rc2
.......\......\...\打印Doc.ico
.......\......\Resource.h
.......\......\StdAfx.cpp
.......\......\StdAfx.h
.......\......\打印.aps
.......\......\打印.clw
.......\......\打印.cpp
.......\......\打印.dsp
.......\......\打印.dsw
.......\......\打印.h
.......\......\打印.ncb
.......\......\打印.opt
.......\......\打印.plg
.......\......\打印.rc
.......\......\打印Doc.cpp
.......\......\打印Doc.h
.......\......\打印View.cpp
.......\......\打印View.h
.......\.....2\MainFrm.cpp
.......\......\MainFrm.h
.......\......\print2.clw
.......\......\print2.cpp
.......\......\print2.dsp
.......\......\print2.dsw
.......\......\print2.h
.......\......\print2.ncb
.......\......\print2.opt
.......\......\print2.plg
.......\......\print2.rc
.......\......\print2Doc.cpp
.......\......\print2Doc.h
.......\......\print2View.cpp
.......\......\print2View.h
.......\......\ReadMe.txt
.......\......\res\print2.ico
.......\......\...\print2.rc2
.......\......\...\print2Doc.ico
.......\......\...\Toolbar.bmp
.......\......\Resource.h
.......\......\StdAfx.cpp
.......\......\StdAfx.h
.......\说明文档.txt
.......\print0\res
.......\.....1\res
.......\.....2\res
.......\print0
.......\print1
.......\print2
10.打印