I am trying to figure out how print preview works but i still don't understand it :( anyone have example of it or maybe explanation?
Thanks
When you print, all you really do is draw in a device context. If that device context is for the printer itself, then the 'picture' you draw is what gets printed out. However, if you create a separate device context, draw in that, and that display it to the user, they will see what would be printed out if it were sent to the printer instead.