[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resource variables in Icon resource



(courtesty cc to OP until list delivery problems are fixed)

On September 6, 2003 at 00:14, Malcolm Miles wrote:

> It appears that you can't include a resource variable in the
> specification of an icon resource eg: the following entries in my
> resource file do not expand $ARCDIR$ into "tdu" in the icon
> specification:
> 
> <DefineVar chop>
> ARCDIR
> tdu
> </DefineVar>
> 
> <Icons>
>     */*;[14x16]/$ARCDIR$/resource/transparent.gif
>     multipart/mixed;[14x16]/$ARCDIR$/resource/paperclip.gif
> </Icons>
> 
> The variable does get correctly expanded in other parts of the
> resource file, just not in the icon specification. Is this the
> expected behaviour or a bug?

Expected behaviour.  The ICONS resource page says resource variables
are N/A (Not Applicable).

Have a look at the ICONURLPREFIX resource.  You may be able to
use that to get the effect you want.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo@mhonarc.org with the
message text UNSUBSCRIBE MHONARC-USERS


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]