No, I am not talking about a tAIB resource in the -document- database.

As you said, when the launcher displays a launchable database it
takes the creator code, finds the appl w/ the same code, and digs
an icon out of -it's- resources.  Currently that icon would be 1000
or 1001 (depending upon the display mode) ... which means that
the documents would show exactly the same icon as their app.

What I am suggesting is reserving two more icon resids (1002, 1003)
for use as document icons ... they would be resources in the appl
db, just as 1000 & 1001 do, but they could be created w/ slightly
different images so that the launcher could display something visually
distinctive to represent "document for application X" as different
from "application X".  (Of course if the appl does not provide 1002/1003,
the launcher would check next for 1000/1001 and if those are absent
move on to the system default icons the way it does now.)

--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!



Bozidar Benc wrote in message <14334@palm-dev-forum>...
>
>Richard,
>
>Only resource database can have resources - other databases just have
>records.
>Default application launcher, when displaying launchable databases, uses
>icon
>of the application with the same creator ID.
>
>PQAs, which are also launchable databases, have their icons in the app info
>area,
>so I guess (I'm not sure, but I would like that it's true <g>) that if your
>launchable database has app info area where launcher can recognize icons,
it
>will
>use those icons.
>
>Or maybe launcher treats PQAs a special case.
>
>Regards
>
>Bozidar
>
>> -----Original Message-----
>> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard
>> Hartman
>>
>> If you set dmHdrAttrLaunchableData  in a database attribute it becomes a
>> "launchable" database and will appear in the launcher.  If you
>> select it, it
>> will launch w/ the appropriate application.
>>
>> Applications have standard tAIB resource IDs defined for app icons:
>>     1000 for large, 1001 for small.
>>
>> Question: Are there standard tAIB resource IDs defined to be used w/
>> launchable databases?  On Wintel systems, the app icon and the
>> app document
>> icon are frequently slightly different so that you can distinguish a
>> document from the app that produces it.  (I -think- the Mac also has this
>> distinction, but I am not sure.)  So: is there a standard tAIB resid to
be
>> used for app document icons?  If not, should one be established?  It
would
>> make sense to me to just use the next in the numerical sequence: 1002 for
>> the large icon, 1003 for the small icon.
>>
>> Questions?  Answers?  Comments? The floor is now open for general
>> discussion...
>> --
>> -Richard M. Hartman
>> [EMAIL PROTECTED]
>>
>> 186,000 mi/sec: not just a good idea, it's the LAW!
>>
>>
>>
>>
>>
>> --
>> For information on using the Palm Developer Forums, or to
>> unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
>>
>>
>
>
>



-- 
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