Thanks Ben.

I undertand that I have to use the following function:
DmGetNextDatabaseByTypeCreator(true,   // and false for the next iteration
          &state, 'appl', 0, false, &card, &dbID);

and after that:
DmOpenDatabase (card, dbID, mode);

and next:
DmGet1Resource('tAIB', 1000);
to obtain the bitmap handle of the large app. icon,

and DmDatabaseInfo for the hidden bit check.

Is that right ?

Aryeh Teitelbaum



----- Original Message ----- 
From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, June 16, 2004 4:30 PM
Subject: Re: applications icons in the Application Launcher


> At 09:29 AM 6/16/2004, you wrote:
> >How can I get the icons (and app. icon name) of all applications
appearing
> >in the Application Launcher ?
>
> You need to iterate through all of the 'appl' resource databases.  The
name
> comes from the 'tAIN' resource (either ID 1000 or 1), and the icon from
the
> 'tAIB' 1000 (large) or 1001 (small) resource.  You should also verify and
> respect the hidden bit in the DB info for each program you find.
>
>
> -- 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/


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

Reply via email to