Click to See Complete Forum and Search --> : CSrollView to DIB file
StephaneBlanc
April 29th, 1999, 04:30 AM
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
Art
April 29th, 1999, 07:02 AM
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
Mike Wild
April 30th, 1999, 08:04 AM
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
StephaneBlanc
May 7th, 1999, 01:48 AM
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
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.