#Bitmaps
3 messages in this thread
Hi Mark,
I downloaded your demo(finally). There version of unzip that I have
seems to not work correctly. Where is the unzip? DL1?
Don
There are 2 Replies.
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
Don,
We use PKUNZIP 1.02. Please note that except for GETDEC, the files are all
self-extracting EXE files, not ZIPs.
Mark