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
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
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/
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
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/