I'm getting this error only when running POSE, it
works fine in the Simulator. I'm using the
palmos40-en-m505-dbg.rom. The error occurs on a
DrawBitmap() function. Only a few lines before the
error, I have done a WinSetDrawWindow() call. Between
these lines there is no drawing or window operations.
I dunno if this makes any difference, but that
WinSetDrawWindow() function is just after I've done
some double buffering (i.e. WinCopyRectangle) to a
section of the original window, and then where I'm
drawing the Bitmap is to a section of the window that
is outside of the copied rectangle area.
Here's the code:
WinGetBounds(offscreenBufferH, &bounds);
WinCopyRectangle(offscreenBufferH, originalWindow,
&bounds, 0, 35, winPaint);
WinSetDrawWindow(originalWindow);
.
.
.
DrawBitmap(bitmap, 70, 31);
I'd appreciate any input, thanks.
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/