Hello Amit, Friday, March 29, 2002, 10:40:07 AM, you wrote:
AA> Hello. AA> I'm new to developing for PalmOS, and just need to AA> know how to do one thing: how do I draw a bitmap on AA> the screen??? I'm using prc tools for Win32 with AA> PalmOS 3.1 SDK. I've tried passing a pointer to a AA> memory array, containing a BitmapType struct followed AA> by the bitmap data, to WinDrawBitmap(), but I must be AA> doing something wrong there, since it gives me "Fatal AA> Exception" and restarts the PalmOS. AA> Thanks for any info! AA> Amit AA> __________________________________________________ AA> Do You Yahoo!? AA> Yahoo! Greetings - send holiday greetings for Easter, Passover AA> http://greetings.yahoo.com/ something like this: { MemHandle resH = DmGetResource (bitmapRsc, MedDBFindBMP); BitmapType *bitmap = MemHandleLock (resH); WinDrawBitmap(bitmap, 1, 147); MemHandleUnlock (resH); } where MedDBFindBMP it's ID bitmap resource. Best regards, Dmitry mailto:[EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
