mIRC Home    About    Download    Register    News    Help

Print Thread
#84768 31/05/04 04:23 PM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
ok im having a really nasty problem w/ docking here is a pic of what is happening...

http://www.matrixn3t.net/images/matrixscript.jpg

look at the scroll bar at the top.... any ideas on how too fix?.... and if i move my switch bar too top, left, or right.... it overlaps ontop of toolbar

i am useing 6.14vr or mirc... and rebar.dll too dock..... =/


Need amazing web design for low price: http://www.matrixn3t.net
#84769 31/05/04 05:13 PM
Joined: Mar 2003
Posts: 160
Vogon poet
Offline
Vogon poet
Joined: Mar 2003
Posts: 160
That does look strange, but i can't really help unless i look at the code, i just did a statusbar to check something, and if i have my switchbar at the bottom, the statusbar is underneath it, not above shocked
mIRC 6.14 XP

#84770 31/05/04 06:34 PM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
heh well there is really nothing specail too my code its just an orderenary mdx script =/

Code:
dialog statbar {
  title "statbar"
  size -1 -1 1000 3
  option dbu
  list 1, -1 1 999 11, size
}
on *:dialog:statbar:*:*: {
  if ($devent == init) {
    ;;set mdx info
    dll $mdx SetMircVersion $version
    dll $mdx MarkDialog $dname
    dll $mdx SetControlMDX 1 StatusBar > $mdxe(bars.mdx)

    ;;set fonts
    dll $mdx SetFont $dname 1 Verdana -10 400

    ;;create cells for the statbar
    did -i $dname 1 1 setparts 115 300 420 550 10000

    ;;create icons
    did -i $dname 1 1 seticon 0 small 0, $+ $imgdir(ram.ico)
    did -i $dname 1 1 seticon 0 small 0, $+ $imgdir(cpu.ico)
    did -i $dname 1 1 seticon 0 small 0, $+ $imgdir(network.ico)
    did -i $dname 1 1 seticon 0 small 0, $+ $imgdir(mp3.ico)
    did -i $dname 1 1 seticon 0 small 0, $+ $imgdir(upstream.ico)
    did -i $dname 1 1 seticon 0 small 0, $+ $imgdir(downstream.ico)

    ;;write the text into it
    did -i $dname 1 1 1  Network: $network
    did -i $dname 1 2 1 CPU Usage: $cpuuse
    did -i $dname 1 3 1 Ram Usage: $ramuse
    did -i $dname 1 4 5 Up stream: $upstream
    did -i $dname 1 5 6 Down stream: $downstream
    did -i $dname 1 6 4 Current Mp3: $curMp3

    ;;dock stat bar
    dll $dlldir(rebar.dll) Dock $dialog($dname).hwnd > bottom
  }
  if ($devent == close) {
    dll $dlldir(rebar.dll) UnDock bottom
  }
}


hope that might help u a bit better?


Need amazing web design for low price: http://www.matrixn3t.net
#84771 31/05/04 08:35 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Get rebar.dll from here. Although this is still version 0.2, it appears to be a later build, one that supports 6.14. There's gonna be a problem in the next version though, until the author updates the dll again: if you take a look at the source code (rebar.cpp) of the latest build, you'll see that it supports mirc versions 6.1 to 6.14. The fix is easy though; you would only need to change 1 byte from the dll with a hex editor, something that can be done with a simple /bwrite (since the dll is open source, I doubt that the author would mind if you edited the binary for personal use). Of course, if you have and know how to use a compiler, you can edit rebar.cpp, change 6.14 to the new mirc version and compile it.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com

Link Copied to Clipboard