At 7:27 PM +0100 20-01-00, Jeffrey Hall wrote:
>me, because I'd like to try to support scrolling.  I
>don't really understand how to draw an image to the
>display if the image is larger than 160 x 160.  Could
>you point me towards some information that I could
>read on how to do this?

WinDrawBitmap should also work, if you just pass the appropriate (offset)
coordinates for the x,y.  (That is, you may have to pass negative x and y
values.)  The window will clip the bitmap so it fits.

Or, you could use WinCreateBitmapWindow on your larger-than-the-screen
bitmap, and then use WinCopyRectangle to copy a portion of it to the
screen.  WinCopyRectangle gives you more control over which portion is
drawn.


                                --Bob


Reply via email to