malonek
October 13th, 1999, 10:08 AM
I have a cbitmap object which I use to draw a black and white bitmap. I am displaying the bitmap to the screen and sending it to the printer. OnDraw handles both by creating a memory device context, selecting the bitmap into the memory device context, and then calling BitBlt to blit the bitmap to the screen or printer. To check my coordinates that go to BitBlt I use the same coordinates to draw a box using MoveTo and LineTo. This is all done in MM_LOENGLISH. Everything is fine when I am displaying to the screen or doing a print preview. However, if the output is going to the printer I do not get the bitmap. The box is always displayed correctly even on the printer but my bitmap only shows up on screen and in print preview. Any help is appreciated.
thanks,
Kevin
thanks,
Kevin