>  > on POSE 3.0,3.1 ad 3.2 ROMS I get ScrDriverNew.c Line:499, Invalid
>>  Params when trying to WinDrawBitmap to an offscreenwindow. I do not
>>  get this error with 3.3 or 3.5 ROMS.
>
>   you were not at PalmSource 2000? :) this was one of those geek
>   questions on the party nights :P it basically means your copying
>   a region that it doesn't like..
>
>   are you passing negative values for (x,y) when drawing? :)
>
>   solution: copy to offscreen window, then copy the visible portion
>             of the bitmap to (0,0)


my first attempt was using negative x,y value, and when debugging 
realized that was the case, and modified the way things worked, so as 
not to use negative values.

what I am doing now, is exactly as you describe - I create an 
offscreenwindow, which say 350 X 350. then, I try to draw a bitmap 
resource to it at 0,0, which is where I get the ScrDriverNew.c error.

On ROMS which dont give me that error, the bitmap is drawn to the 
offscreen window, and then I calculate a rect type to copy from it 
back to the visible window. everythign works great on 3.3. and 3.5.


should I be trying to draw to the offscreen window using direct 
buffer access? if so, how?

thanks!

-- 



Chad Harrison

Director, PR Technology
Hass Associates
115 W. Liberty, Suite 200
Ann Arbor, MI 48104
(734) 214.1550
(734) 214.1551 (f)
[EMAIL PROTECTED]

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

Reply via email to