Skip to content
MSN

switch bar icons

A TG007 community discussion started by tomas.dexter.

Discussion 5 posts
Page 1 of 1
Open
Topic #3209 · 5 published posts · 659 views

hey guys im having a bit of an issue with the icons on my switch bar. its a custom switch bar docked to the bottom but my icons are fuzzy not sure what it is. i have used these icons elseware so im pretty sure its not that anywhere here is the code .....

 

on *:dialog:bar:init:*:{
 mdx SetMircVersion $version
 mdx MarkDialog $dname 
 mdx SetDialog $dname style
 mdx SetControlMDX 6 toolbar arrows nodivider list wrap noresize flat > $bdll  
 mdx SetBorderStyle 6
 did -i $dname 6 1 bmpsize 20 20
 did -i $dname 6 1 setimage icon small $scriptdirbf.ico
 did -i $dname 6 1 setimage icon small $scriptdirbfl.ico
 did -i $dname 6 1 setimage icon small $scriptdirof.ico
 did -i $dname 6 1 setimage icon small $scriptdirrf.ico
 did -i $dname 6 1 setimage icon small $scriptdirfg.ico
 did -i $dname 6 1 setimage icon small $scriptdirfy.ico
 did -i $dname 6 1 setimage icon small $scriptdirbfd.ico
 did -i $dname 6 1 setimage icon small $scriptdirico17.ico
 did -i $dname 6 1 setimage icon small $scriptdirof.ico
 did -a $dname 6 +av 1 Servers
 did -a $dname 6 +av 2 Channels
 did -a $dname 6 +av 5 Queries
 did -a $dname 6 +av 3 Custom
 did -a $dname 6 +av 4 Dcc Files
 did -a $dname 6 +av 7 Dcc Chats
 did -a $dname 6 1 -
 did -a $dname 6 +av 8 Notify
;did -a $dname 6 +av 9 Control Panel
 dll dll\rebar.dll Dock $dialog($dname).hwnd > bottom

if the icons are actually 20 by 20 i would change tje icon size from small to large, but if they're meant to be small, change the icons to 16 by 16

"the important thing was, that i had an onion on my belt, which was the style at the time"

yeah its at any size....i dunno maybe ill try somthing else. ty

Edited Mar 27, 2005 12:29 PM by tomas.dexter

did -i $dname 6 1 bmpsize 20 20

 

this line is incorrect

 

it can only be 1 or the 2 below

 

did -i $dname 6 1 bmpsize 16 16

did -i $dname 6 1 bmpsize 32 32

oh ok thank you gate keeper i never noticed that to be a prob before when i made icons bigger or smaller. i havent had a chance to try 16 or 32 cuz im at work but i will when i get home thank you