Skip to content
MSN

Progress Bar Help Needed.

A TG007 community discussion started by Warrior124.

Discussion 10 posts
Page 1 of 1
Open
Topic #4155 · 10 published posts · 1,033 views

I've got everything to working. However, I am trying to change the bars from green to another color, but I can't seem to accomplish this for some reason. Here is the code I have...

 

on *:dialog:mp3:init:0:{ 
 .did -ra $dname 7 $chr(34)
 .dll $mdx SetMircVersion $version
 .dll $mdx MarkDialog $dname
 .dll $mdx SetControlMDX $dname 1 ProgressBar vertical > $ctl
 .dll $mdx SetControlMDX $dname 17 ProgressBar smooth > $ctl
 .did -a $dname 1,17 barcolor $rgb(0,0,255)
 .did -a $dname 1,17 bgcolor $rgb(0,0,0)
 .dll $mdx SetFont $dname 2,3,4,5,9,10,15,16,18 20 500 Webdings
 .dll $mdx SetFont $dname 6,7,11,12,13,14 20 500 Wingdings
 .dll $mdx SetDialog $dname icon $shortfn($findfile($mircdir,note.ico,1))
 if ($exists($shortfn($findfile($mircdir,mp3list.txt,1)))) loadbuf -ro $dname 8 mp3list2.txt
 if (%mp3rand) { playrandsong }
 if (%mp3continue) { playsong }
 getvolplus
 .timer.upb 0 1 upb
 set %mutetext $did(18).text
}

 

am I missing something here?

  dll $shortfn($mircdirdll\hos.dll) RemoveTheme $dname 1
 did -a $dname 1 BarColor $rgb(113,145,187)

 

 

hosdll.zip

Attachments 1 file

FINALLY, someone who is gonna use something other than Rebar/ktools. Hosdll is a good dll.

Thanks err0r. That worked perfectly.

well of course it did

FINALLY, someone who is gonna use something other than Rebar/ktools. Hosdll is a good dll.

lol, I know what you mean. Those dlls can drive a person mad at times.

is this a new one ???

If so where can I get the dll and and text file on how to work it

The one err0r provided doesn't come with any help files. However, there are some sites which carries other versions of hOs.dll that I have found which does contain help files. However, the ones that I have found doesn't seem to have the RemoveTheme that err0r provided.

err0r knows things that aren't in help files

and if he doesnt know he has the ozzy mobile help file lol

My code does NOT have bugs. It just develops random features.