WinDrawBitmap not working

2007-07-07 Thread V. Sriram
Hi all, I want to display bitmap on the form programatically. This is the code snippet: MemHandle bitmapH; bitmapH = DmGet1Resource('Tbmp', 1010);//I have 1010 in resources if (bitmapH) { BitmapType *bitmap; bitmap = (BitmapPtr)MemHandleLock(bitmapH); WinDrawBitmap(bitmap, 20, 20); M

Re: WinDrawBitmap not working

2007-07-07 Thread f4t3z3r0
From: V. Sriram <[EMAIL PROTECTED]> To: Palm Developer Forum Sent: Saturday, July 7, 2007 2:16:47 AM Subject: WinDrawBitmap not working Hi all, I want to display bitmap on the form programatically. This is the code snippet: MemHandle bitmapH; bitmapH = DmGet1Resource('Tbmp', 101

Re: WinDrawBitmap not working

2007-07-08 Thread Bodo Wenzel
I think you have to call FrmDrawForm() before WinDrawBitmap(). Bodo -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: WinDrawBitmap not working

2007-07-08 Thread Roger Stringer
after calling FrmDrawForm() yourself, and return handled=true, so the form manager doesn't overdraw your bitmap. At 04:15 AM 7/8/2007, you wrote: From: V. Sriram <[EMAIL PROTECTED]> To: Palm Developer Forum Sent: Saturday, July 7, 2007 2:16:47 AM Subject: WinDrawBitmap not working Hi

Re: WinDrawBitmap not working

2007-07-08 Thread Lionscribe
Or else put it in as an Extended Gadget, and have the GadgetHandler draw itself. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/