Hello all,

I waste a full day with that so I put the info here. It seems that all
PalmOS 4.X have a problem with the WinCopyRectangle function : if you copy
from an offscreen window to whatever and that this window has been
'unlocked/unloaded' (I do not exactly what the OS does with the window but
it does it...), WinCopyRectangle does not relock/reload it and try to blit
so 'Fatal Error' each time.

This bug arises on Sony Cli� / Palm OS 4.X HiRes.
Getting some pixels around in the bitmap (WinSetDrawBitmap' it, get a pixel,
and go back to previous DrawBitmap) helps the system reload the stuff, then
the WinCopyRectangle works.

If anyone knows about that and has a better solution (or the reason), I'll
be very happy to know. NB: I really want to use WinCopyRectangle because I
want to copy a sub-part of the offscreen window.

Armel


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to