problem with windrawbitmap

2002-04-02 Thread Amit Agarwal
hi guys i am having trouble using this function. the program runs properly on the emulator but hangs on palm as soon as this function is executed. can anyone suggest what may be the problem? thanks, amit __ Do You Yahoo!? Yahoo! Tax Center -

drawing bitmap

2002-03-28 Thread Amit Agarwal
Hello. I'm new to developing for PalmOS, and just need to know how to do one thing: how do I draw a bitmap on the screen??? I'm using prc tools for Win32 with PalmOS 3.1 SDK. I've tried passing a pointer to a memory array, containing a BitmapType struct followed by the bitmap data, to

Re: drawing bitmap

2002-03-28 Thread Amit Agarwal
something like this: { MemHandle resH = DmGetResource (bitmapRsc, MedDBFindBMP); BitmapType *bitmap = MemHandleLock (resH); WinDrawBitmap(bitmap, 1, 147); MemHandleUnlock (resH); thanks for the reply. actually i am not using a resource bitmap. i am developing an