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/