I'll take a look; I'm doing this with OnBoardC right now, so don't have
access to the entire SDK for my perusal.

On Thu, Feb 26, 2009 at 2:21 PM, Donald C. Kirker <
[email protected]> wrote:

> Ryan Rix wrote:
>
>  I usually get crap written to the BitmapPtr and when I draw it with
>> WinDrawBitmap I usually get either a crash or just crap drawn to the screen,
>> I've yet to get a working icon.
>> Does anyone have a clue why my code keeps crapping out like this?
>>
>>
> As Dmitry said, you are not obtaining all of the information. Read the
> Bitmap.h file for details on how the bitmap structure is laid out. I believe
> that there are some files (BitmapRsc.c/h or the like) floating around that
> can read a bitmap from a resource.
>
> You may get better performance by caching the data in your own database (in
> a known resolution), or reading the bitmaps as they are needed and disposing
> them when they are not needed (maybe cache what is on screen and one row up
> and one row down in heap.)
>
> -Donald
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/
>



-- 
Thanks and best regards,
Ryan Rix
TamsPalm - The PalmOS Blog
(623)-239-1103 <-- Grand Central, baby!

Jasmine Bowden - Class of 2009, Marc Rasmussen - Class of 2008, Erica
Sheffey - Class of 2009, Rest in peace.

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to