Creating print dialog uses PrintDlg, how about print preview dialog? Is it a self-created (correct me if i'm wrong) dialog or there are also functions for that specific purpose.
You have to create your print preview. There aren't API that can help you, but it is quite simple because you use the same procedure to print on the "printer" and print on the "print preview dialog"
I'm creating my print preview dialog
I'm creating my print preview dialog
Is the DC for the printer can be displayed on the screen?
No but you can use the same code to print on the printer dc or on the screen dc