mIRC Homepage
Posted By: jacksparrow2 any help please - 30/01/05 10:46 PM
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
Posted By: Iori Re: any help please - 31/01/05 02:06 PM
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
}
Posted By: jacksparrow2 Re: any help please - 31/01/05 03:33 PM
didnt work pal
Posted By: clutz1572 Re: any help please - 31/01/05 05:17 PM
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 )
Posted By: jacksparrow2 Re: any help please - 31/01/05 08:18 PM
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
© mIRC Discussion Forums