MDX/Control Panel Help Needed.

May 12 2004 at 2:27 AM
No score for this post
  (Login Mustang97)
from IP address 24.206.119.195

 

I'm tryin to make a rather simple control panel. Read several help files/tutorials even the help manual. For some reaon its not working no matter what I do. I tried the sample ones from the help file but not even that works. I wonder if the MDX doesn't work for mIRC 6.14? Or perhaps I'm doing somfin wrong. Here is what I got.

alias mdx { return " $+ $scriptdirDLLs\MDX.DLL" }
alias bars { return " $+ $scriptdirDLLs\BARS.MDX" }
alias views { return " $+ $scriptdirDLLs\VIEWS.MDX" }
alias icon { return " $+ $scriptdirICOs\ $+ $1- $+ " }

alias we.dialog { dialog -m we.dialog we.dialog }

dialog we.dialog {

title "testing..."
size -1 -1 400 200
option dbu

list 1, 0 2 80 180, size extsel

box "", 2, 84 0 315 196

button "Apply", 3, 1 186 20 10, disable
button "Ok", 4, 30 186 20 10, ok
button "Cancel", 5, 59 186 20 10, cancel
}

ON *IALOG:*:*:*: {
if ($dname == we.dialog) && ($devent == INIT) {
dll $mdx SetMircVersion $version
dll $mdx MarkDialog $dname
;; $dialog($dname).hwnd

dll $mdx SetControlMDX $dname 1 listview icon single > $views
dll $mdx SetFont $dname 1 ANSI 13 700 Tahoma
dll $mdx SetBorderStyle $dname 1 staticedge

did -i $dname 1 1 seticon normal 0 $icon(0.ico)
did -i $dname 1 1 seticon normal 0 $icon(1.ico)

did -a $dname 1 0 1 FTP Settings
did -a $dname 1 0 2 Request Settings
}
}


If someone could help me out I would apprciate it..

Mustang97

Mustang97
#WarezNorth,#Cracks&Serials @ UnderNet

 
Scoring disabled. You must be logged in to score posts.Respond to this message   
Responses

Create your own forum at Network54
 Copyright © 1999-2009 Network54. All rights reserved.   Terms of Use   Privacy Statement