|
-
May 14th, 1999, 05:14 PM
#1
Print Preview and CScrollView
Hi Folks,
My application uses CScrollView and SetScaleToFitSize to display a high color image. The image is usually 800x600 but it shows up the size of a postage stamp in the Print Preview window. Does anyone know what I need to do to fix this?
--Thanks, Lee ([email protected])
-
May 15th, 1999, 09:35 AM
#2
Re: Print Preview and CScrollView
I believe the only way to do this is to set the scale that you want by using a command like
SetScrollSizes(MM_HIENGLISH, csViewSize);
where csViewSize is the size of your window, or in this case your page size.
-
May 17th, 1999, 03:08 PM
#3
Re: Print Preview and CScrollView
Setting the mapping mode with CScrollView::SetScrollSizes() may do the trick.
There's a tutorial on that in the SDK tutorials on th VC++ CDROM.
I'll be curious to know how the printing actually comes out... I've had trouble
getting what's in the print preview window to printout on the printer properly.
I'd really appreciate an email showing your print method if it does work.
Thanks in advance,
JP - ([email protected])
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|