mIRC Home    About    Download    Register    News    Help

Topic Options
#109568 - 30/01/05 10:46 PM any help please
jacksparrow2 Offline
Fjord artisan

Registered: 30/10/03
Posts: 306
Loc: Argentina
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

Top
#109569 - 31/01/05 02:06 PM Re: any help please
Iori Offline
Hoopy frood

Registered: 30/08/03
Posts: 1831
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
}

Top
#109570 - 31/01/05 03:33 PM Re: any help please
jacksparrow2 Offline
Fjord artisan

Registered: 30/10/03
Posts: 306
Loc: Argentina
didnt work pal
_________________________
mess with the best

Top
#109571 - 31/01/05 05:17 PM Re: any help please
clutz1572 Offline
Fjord artisan

Registered: 16/08/04
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 )

Top
#109572 - 31/01/05 08:18 PM Re: any help please
jacksparrow2 Offline
Fjord artisan

Registered: 30/10/03
Posts: 306
Loc: Argentina
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

Top