I created a simple custom toolbar for musicplayer control but i'm strugling whit a behaviour that is there for the default connect/disconnect button.

I wanted to have a simliar behaviour for the pause button i have but it doesn't seem to work. (I hope i don't have to explain default connect/disconnect button behaviour? hint: look at the picture wink )

Original line in toolbar.ini for connect:
n1="connect","Connect",1,"0",0,0,0,0,0,16,16,"","",0,1,0,0,""
n2="connect2","Disconnect1",1,"1",0,0,0,16,0,16,16,"","",0,0,1,0,""
n3="connect3","Disconnect2",1,"2",0,0,0,32,0,16,16,"","",0,0,1,0,""
Don't understand why connect3 is there, i never saw it anyway but ok.

The button i wanted to have same behaviour:
n2="pause","Enable Pause",0,"icons\pause.ico",0,0,0,0,0,0,0,"/echo pause enabled","",0,1,0,0,""
n3="pause2","Disable Pause",0,"icons\pause2.ico",0,0,0,0,0,0,0,"/echo pause disabled","",0,0,1,0,""
The thing in bold is the only thing i noticed what was different, the rest i understand icon position in pic file etc..

Any suggestions?

:update:
Ok, i tried to solve my problem using the check box option but it gives me a white/gray background in normal position and since i'm having a black toolbar i would like it to be black in al positions. Is this even possible or am i screwed?

Last edited by ots654685; 01/04/09 06:43 PM.