I have constructed an image in a compatible DC that is then displayed on the screen in a window 700 x 700 pixels. This uses the traditional code:
BitBlt hDC, 0, 0,ScreenHeight,ScreenHeight, hMemoryDC, 0, 0, %srccopy
and this works OK.
I now need to print this out. I am using Don Dickinson's code published by Dave Navarro on 12/11/99 on the BBS. I have modified the code as I do not need some it, and this works OK if I load a bitmap from a file.
I want to create a bitmap in memory from the constructed data above, and pass the handle to these print routines. I have used:
BitBlt hMemoryDC2, 0, 0,ScreenHeight,ScreenHeight, hMemoryDC, 0, 0, %srccopy
hTempBitmap=CreateCompatibleBitmap( hMemoryDC2,700,700)
but just get a series on lines in the printout.
How can I do this apparently simple task?
Help please
Iain Johnstone
------------------
BitBlt hDC, 0, 0,ScreenHeight,ScreenHeight, hMemoryDC, 0, 0, %srccopy
and this works OK.
I now need to print this out. I am using Don Dickinson's code published by Dave Navarro on 12/11/99 on the BBS. I have modified the code as I do not need some it, and this works OK if I load a bitmap from a file.
I want to create a bitmap in memory from the constructed data above, and pass the handle to these print routines. I have used:
BitBlt hMemoryDC2, 0, 0,ScreenHeight,ScreenHeight, hMemoryDC, 0, 0, %srccopy
hTempBitmap=CreateCompatibleBitmap( hMemoryDC2,700,700)
but just get a series on lines in the printout.
How can I do this apparently simple task?
Help please
Iain Johnstone
------------------
Comment