I'm still struggling on understanding how to modify the blend an image over an OffScreenWindow. To make like easier, since the background is black, I reckon the way could be after I draw the image on the OffScreen Window, to make the OffScreenWindow more or less darker. Easy, isn't i? :D Well, of course not for me since I'm a beginner in C. I can understand how the bit works, but I still don't have so much clue how to get to the pixels. I presume there is an array of bits that I can modify, how to get to this array of bits?

As far as I understood I could get the bitmap doing:

BitmapPtr bmp = WinGetBitmap(myOffScreenWindow);

I can't find from the api the function to get the bits from a BitmapPtr.

Any help will be very appreciated.


Many thanks, chr
--
___________________________________________________________________
{ Christian Giordano's site and blog @ http://nuthinking.com }

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

Reply via email to