The way I would probably do it is to write all my 'printing' routines so that they take as a parameter the output DC. Then when printing normally I would pass @prthdc% as the parameter, and when doing the Print Preview I'd pass a memory DC that I had created for the purpose. Richard. |
|