|
-
April 29th, 1999, 04:30 AM
#1
CSrollView to DIB file
I would like to save a CScrollView to a bitmap file. I try with code find in CodeGuru. this code save a DC to a DIB file, but when i use it with CScroolView DC it save only displayed chart.
If someone have a solution ? I will very happy to get it.
thanks for all
-
April 29th, 1999, 07:02 AM
#2
Re: CSrollView to DIB file
Hi.
what do you mean by saing "save CScrollView" . you don't save class information in the bitmap file. you save bits information in it such as bitmapinfoheader and bitdata. if you explain more in details what do you want to do, I could help you.
with best regards.
AAvetyan
-
April 30th, 1999, 08:04 AM
#3
Re: CSrollView to DIB file
Look at the printable treesample( not myone, the other which works with the DC ), there the same problem is solved. The trick is to set the Windowsize as big that everything is printed.
Mike
-
May 7th, 1999, 01:48 AM
#4
Re: CSrollView to DIB file
thanks for your help,
sorry to not reply earlyer but i was not at work last week.
So I want to save the DC of a CSrollView in a Bitmap file but all code i find to do that on codeguru do not accept to save data draws out of the display area of the scrollview. So only data show on the screen are save, area witch are not display are save in black.
thank for all
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
|