CompuServe Messages

Bitmaps

    03-Oct-91 10:01:35
Sb: #1148-Bitmaps
Fm: George Campbell 71571,222
To: Don Funk 76701,155
Don, Thanks so much for sending me the example for printing bitmaps in picture boxes. Once I reasoned through what was happening with StretchBlt, it all made sense. I soon discovered that I could easily adapt this to scaling other picture boxes. What I'm doing now is creating an invisible picture box, with the image stored at printer resolution. Since the images are never more than one inch square, the files aren't too big. Then, in my Wysiwyg picture box, I overlay a second picture box holding the image, reduced in size with the StretchBlt function. When it's print time, I send the larger image to the printer. What I didn't realize until yesterday is that I can use the same stuff to handle scaling the image, letting the user customize the size. What nifty stuff! Sometime next week, I'll upload a sample project which illustrates all this stuff, making things a little easier for beginners. Again, I'm in your debt! George