Cevap: ListBox'un yanında menü olusturmak ???
dialog opmenu {
title "Op Menü"
size -1 -1 16 402
option dbu
button "(+v)", 2, 2 32 15 15
button "(-v)", 3, 2 48 15 15
button "(-o)", 8, 2 16 15 15
button "(+o)", 10, 2 0 15 15
button "K-B", 18, 2 80 15 15
button "Kick", 19, 2 96 15 15
button "Whois", 1, 2 112 15 15
button "İnfo", 4, 2 128 15 15
} on *:dialog:opmenu:init:0: {
mdx MarkDialog $dname
mdx SetDialog $dname style
mdxdll SetDialog [ $dname ] bgcolor [ $rgb(44,155,249) ]
rebar Dock $dialog(opmenu).hwnd > right
} on *:dialog:opmenu:sclick:2:{ mode $active +v $snick($active,1) }
on *:dialog:opmenu:sclick:3:{ mode $active -v $snick($active,1) }
on *:dialog:opmenu:sclick:4:{ cs info $snick($active,1) }
on *:dialog:opmenu:sclick:1:{ whois $snick($active,1) }
on *:dialog:opmenu:sclick:19:{ kick $active $snick($active,1) }
on *:dialog:opmenu:sclick:8:{ mode $active -o $snick($active,1) }
on *:dialog:opmenu:sclick:10:{ mode $active +o $snick($active,1) }
on *:dialog:opmenu:sclick:18:{ ban $active $snick($active,1)10 | kick $active $snick($active,1) } alias mdx { dll mdx.dll $1- }
alias rebar { dll $shortfn(rebar.dll) $$1- }
alias mdxdll { return $dll(mdx.dll,$1,$2-) } menu * {
Op Menü: dialog -m opmenu opmenu
} istediklerini ekledim sen üzerinde değişiklik yapıp tam istediğin gibi ayarlayabilirsin.
mirc ana klasörüne "rebar.dll" ve "mdx.dll" bu iki dll yi atmayı unutma |