|
Am attaching the code . Please go through it. GcBitmapHandle gcBitmap; GcHandle gc; gcBitmap = FrmGetBitmapHandle(formP, myAppDB, bitmapRsc, rscID, 0); if (!gcBitmap) return memErrNotEnoughSpace; GcGetCurrentContext(gc); if (gc) { GcDrawBitmapAt(gc, gcBitmap, NULL, x, y); GcReleaseContext(gc); Here we need to know how we could give the FrmGetBitmapHandle parameter "myAppDB", which is the database name. Am developing my application in Protein sdk. Here i cant find a .pdb file. Please help.. Michal Seliga wrote: if image data are 16bpp you may need to byteswap each pixel. it depends how you draw it exactly (memmove to window bitmap? or create bitmap and use WinDrawBitmap()?)Anoop wrote: -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ |
- Re: Displaying bmp on form Anoop
- Re: Displaying bmp on form Michal Seliga
- Re: Displaying bmp on form Anoop
- Re: Displaying bmp on form Anoop
- Re: Displaying bmp on form Roger Stringer
