This should display a bitmap or a bitmap family.
The bitmap_fam param is the ID.
I think there may be a function that does this for you though, although Im
not sure.
void GEN_display_bitmap (Int16 bitmap_fam, Int16 x, Int16 y)
{
MemHandle theResourceHandle;
BitmapPtr theBitmapPtr;
/* Grab the handle to our bitmap resource */
theResourceHandle = DmGetResource( bitmapRsc, bitmap_fam );
/* Lock down the handle so we can get the pointer to the bitmap */
theBitmapPtr = MemHandleLock( theResourceHandle );
/* Draw the bitmap on the screen at x, y */
WinDrawBitmap( theBitmapPtr, x, y );
/* Unlock the handle to the bitmap */
MemHandleUnlock( theResourceHandle );
/* Finally, release the resource */
DmReleaseResource( theResourceHandle );
}
Rik
> -----Original Message-----
> From: Lokesh Tiwary [SMTP:[EMAIL PROTECTED]]
> Sent: 21 September 2000 06:41
> To: Palm Developer Forum
> Subject: Drawing the note icon
>
> I have a custom column in a table and wish to draw a note icon at a
> particular position using a call similar to WinDrawChars()...
>
> any ideas?
>
> -lt
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/