mIRC Home    About    Download    Register    News    Help

Print Thread
#109568 30/01/05 10:46 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\mdx\mdx.dll,") }

alias mdx { dll $mdx_fullpath $1- }

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

dialog Mdx_dialog {
size -1 -1 522 277
title "Dialog"
list 1,20 20 100 235,extsel size
list 2,133 45 371 185,vsbar size
box "Box",3,133 12 367 26
;the button below is auto-created.You can remove it
button "",1000,0 0 0 0,ok hide
}
on *:dialog:Mdx_dialog:init:*:{
mdxinit
mdx SetControlMDX $dname 1 ListView icon noheader single > C:\S\mdx\views.mdx
did -i $dname 1 1 headerdims 50
did -i $dname 1 1 headertext Column
did -i $dname 1 1 iconsize normal small
did -i $dname 1 1 seticon list 0, $+ C:\S\mdx\word.ico
did -i $dname 1 1 seticon list 0, $+ C:\S\mdx\excel.ico
did -i $dname 1 1 seticon list 0, $+ C:\S\mdx\Disconnect.ico
did -i $dname 1 1 seticon list 0, $+ C:\S\mdx\Connect.ico
did -a $dname 1 0 1 caca
did -a $dname 1 0 2 caca
did -a $dname 1 0 3 caca
did -a $dname 1 0 4 caca
}


on 1:open:mdx_dialog:sclick:1:{
echo -a PETON
}

i want try to know how i do to get click the image!!? how can i do


mess with the best
#109569 31/01/05 02:06 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Do you mean how to get this to work?
Code:
on 1:[color:red]open[/color]:mdx_dialog:sclick:1:{
  echo -a PETON
}

Change it like this
Code:
on 1:[color:blue]dialog[/color]:mdx_dialog:sclick:1:{
  echo -a PETON
}

#109570 31/01/05 03:33 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
didnt work pal


mess with the best
#109571 31/01/05 05:17 PM
Joined: Aug 2004
Posts: 423
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
what exactly are you tring to do here??
the reason i'm asking is that there are TWO DIFFERENT EVENTS going on... i don't believe you can combine a on open event with a dialog... since that's what i see your trying to accomplish.. the on open event is for like queries,dccs, and dcc chat windows and such.... if i'm following you correctly you may want the /window command for this, then you could add it to those events i believe.

-edit-
or perhaps even a picwin would help......

(if i'm wrong with any of this, someone please correct me )

#109572 31/01/05 08:18 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
i made a config dialog with mdx and i dont know how i do to select the icons to put my stuff on it

thnx


mess with the best

Link Copied to Clipboard