I need to display some information on a form and I thought it might be useful if I could display a bitmap. For example, if something is stopped display a red circle, if it's suspended, display an amber circle, and if it's running (pure rocket science), display a green circle.
How easy is it to display a bitmap on a form and change it at runtime depending on the state of the data I'm displaying? Code snippet? PilRC definition?
Just use WinDrawBitmap to draw the bitmap on your form yourself. Do it in the frmOpenEvent handler, and be sure to update it in the frmUpdateEvent handler. You might use a gadget to mark the bounds of the bitmap, just so its not hardcoded into your application.
-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
