mIRC Home    About    Download    Register    News    Help

Print Thread
#154634 30/07/06 06:17 PM
Joined: Aug 2003
Posts: 41
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Aug 2003
Posts: 41
When I try to use a 16x16 ico file in a toolbar, mIRC blows it up to 32x32, even though there is only a 16x16 image in the file.

Here is my command line:

/toolbar -i 1 id Tooltip resource\ico\gui\cursor.ico

The icon file is 16x16x24bits and was generated with Irfanview.

#154635 30/07/06 06:18 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Not a bug. From the help file:

Code:
-zN = icon size, 1 = small, 2 = large, 3 = actual


You should be using /toolbar -iz3

#154636 30/07/06 06:21 PM
Joined: Aug 2003
Posts: 41
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Aug 2003
Posts: 41
Ah, I was trying to use the [x y w h] commands, I didn't see that. Thanks.

Still, it should, by default, use the size of the icon in the file instead of resizing it.

[Edit:

toolbar -iz3 1 id Tooltip resource\ico\gui\cursor.ico

Icon is still displayed as 32x32. -z1 works.]

Last edited by The_Mega_ZZTer; 30/07/06 06:23 PM.
#154637 30/07/06 06:22 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Agreed. smile

#154638 31/07/06 01:36 PM
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
Thanks this has been fixed for the next version.


Link Copied to Clipboard