"Thomas Maeder" <[EMAIL PROTECTED]> wrote in message
news:72886@palm-dev-forum...
>
> Is it possible to use the Alert icons (stop, information etc.) in my
own
> forms? What are their resource ids and type?

Take RsrcEdit and look at the contents of the System database.  However,
if you do use those, there is NO guarantee that they will be available
on all devices or OS versions.

On my Prism, the alert icons start at 10004 (information) and go to
10007 (the X).  These also matched on an emulated Palm m505 using OS 4.0
and an emulated Palm III running OS 3.0.  They are standard 'Tbmp'
bitmaps, each one 16x16.  On the newer ROM images, they are bitmap
families with several bit depths.  The System DB is always open, so you
don't have open anything explicitly to fetch these resources.

The built-in apps, like Memo Pad and Address Book, use these bitmaps
directly.  If you look at the MemoDelete.rsrc file, you'll see that the
form asking for delete confirmation directly uses Tbmp 10005.
Constructor for Palm OS even knows that the bitmap is a system one and
shows the correct value.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to