In article <81328@palm-dev-forum>, [EMAIL PROTECTED] says...
> 
> How to retrieve the bytes using BmpGetBits() function?I am unable to capture
> the raw data of bitmap.Please help me.

If you are trying to capture part of the screen, you need to take a two 
stage approach.  First, create an offscreen bitmap, then do a rectangle 
copy from the screen to the bitmap.  You then can use BmpGetBits to get 
to the raw bits of the offscreen bitmap.  Using BmpGetBits to get to the 
actual screen of the device is unsupported -- some devices may have 
special characteristics on the screen which make directly modifying 
screen memory problematic; for example, the Kyocera QCP-6035 seems to 
have a split screen memory with the top part of the screen controllable 
by the phone processor as well as the Dragonball EZ.

-- 
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead

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

Reply via email to