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