what if the bitmap is 1 bit? and what "other things" does 
WinDrawBitmap not like??



>Hey, that was my question (hoo, boy, was I hammered...)
>
>..anyway, it turns out thet the WinDrawBitmap does not like to draw 
>to an offscreen bitmap when (among other things) the bitmaps are 
>deeper than a single bit-plane...
>
>Chris Olson
>
>Aaron Ardiri wrote:
>
>>>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)

-- 
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