home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sdd.hp.com!scd.hp.com!hpscdm!hplextra!rigel!yefchak
- From: yefchak@hplabsz.hpl.hp.com (George Yefchak)
- Subject: HELP Bitmap Printing in VB
- Message-ID: <1992Nov6.225227.24710@hplabsz.hpl.hp.com>
- Date: Fri, 6 Nov 1992 22:52:27 GMT
- Organization: Hewlett-Packard Laboratories Palo Alto,CA
- X-Newsreader: TIN [version 1.1.4 PL6]
- Keywords: Visual Basic
- Lines: 21
-
- I have created a 256-color image using API calls from Visual
- Basic, and I've gotten it to appear on my form by calling
- BitBlt. But I have no idea how to get it to print. Basically,
- 255 of the colors come out black, and one comes out white.
-
- How can I print this as a grey-scale image? (Even 16 shades
- would be OK.)
-
- Also, I'd like to copy my 256-color palette along with the image
- to the clipboard. (I'm using plain-old device-dependent bitmaps.
- Do I need to use DIB's?)
-
- Thanks!
-
- ***********************************************************************
- * George Yefchak Hewlett-Packard Laboratories*
- * Internet: yefchak@.hpl.hp.com P.O.Box 10350 *
- * CompuServe: 73607,1625 Palo Alto, CA 94303-0867 *
- * 415-857-4793 *
- ***********************************************************************
-
-