mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2003
Posts: 177
P
Prizm Offline OP
Vogon poet
OP Offline
Vogon poet
P
Joined: May 2003
Posts: 177
How can I check the icon filename loaded in a custom dialog?

This might be simple, but I'm not sure what the correct way to obtain this value is.

I'm guessing you need to use:

$gettok($did(dname,id of icon),2-,32)

If you just use $did(dname,id of icon), it returns 0 <filename>

Joined: Dec 2002
Posts: 271
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 271
if u only want the filename, and not the ordinal name(first param), then yes your right, but the first param might not always be 0, so you may want to keep that in mind, for example, if you load an icon $mircexe 5, or $mircexe 4, they both load icons, from the same file, but two different icons.....just thought u might like to be aware of that if u werent already....


Link Copied to Clipboard