mIRC Home    About    Download    Register    News    Help

Print Thread
#84966 02/06/04 02:38 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
alias mdx_fullpath { return $+(",C:\S\KamelotScript\mdx.dll,") }

alias mdx { dll $mdx_fullpath $1- }

alias mdxinit {
dll $mdx_fullpath SetMircVersion $version
dll $mdx_fullpath MarkDialog $dname
}

dialog StatsBar {
size -1 -1 1028 117
title "Statsbar"
list 1,2 96 460 20, size
}
on *:dialog:StatsBar:init:*:{
mdxinit
mdx SetControlMDX $dname 1 StatusBar sizeGrip > C:\S\KamelotScript\bars.mdx
mdx SetBorderStyle $dname 1 windowedge
did -i $dname 1 1 iconsize normal small
did -i $dname 1 1 seticon normal 0, $+ C:\S\PhantomScript\pc.ico
did -i $dname 1 1 seticon normal 0, $+ C:\S\PhantomScript\memoria.ico
did -i $dname 1 1 seticon normal 0, $+ C:\S\PhantomScript\users.ico
did -i $dname 1 1 seticon normal 0, $+ C:\S\PhantomScript\disco.ico
did -i $dname 1 1 setparts 50 170 290 410
did -i $dname 1 2 +p 1 Cpu
did -i $dname 1 3 +p 2 Memoria
did -i $dname 1 4 +p 3 Usuarios
did -i $dname 1 5 +p 4 Disco
}

i want lock my dialog like an original stats bar how i do it
i know i can use rebar.dll but i dont know it

thnx


mess with the best
#84967 02/06/04 03:25 PM
Joined: May 2003
Posts: 79
A
Babel fish
Offline
Babel fish
A
Joined: May 2003
Posts: 79
rebar.dll comes with a help file, just read it. There's also a few other dlls that can be used to dock dialogs, but you'll never succeed if you don't read their help file.


Link Copied to Clipboard