Hi, Does anyone have an example of using FrmNewBitmap? I have the following code: FormPtr frm = FrmGetActiveForm(); MemHandle bitmap_handle; MemPtr bitmap_pointer; bitmap_pointer = MemHandleLock(bitmap_handle); I know that the contents of my handle are correct, because if I do: WinDrawBitmap((BitmapType *) bitmap_pointer, 0, 100); the bitmap displays correctly. However, if I do: DmAttachResource(my_db, bitmap_handle, 'Tbmp', 9876); f = FrmNewBitmap(&frm, 9876, 9876, 0, 100); FrmShowObject(frm, FrmGetObjectIndex(frm, 9876)); I get a NULL Handle error. What am I doing wrong? Thanks! Tom -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
