mIRC Homepage
Hi,
I have created a custom window, with a side-listbox.
Catching right-clicks on the contents is done with "menu @window {".
But is there also a way to catch double-clicks?

I have looked and looked in mIRC.hlp, but couldn't find an answer.

Thanks in advance!
After searching the mirc.hlp file more througholy (misspelled I know :P) I found the answer! smile

menu @msn {
dclick: ......
}

Just add a second menu @window { with the dclick keyword and using $mouse.lb to ignore doubleclicks on the main area:
Code:
menu @blah {
  Item1: echo -s Item1: $1-
  Item2: echo -s Item2: $1-
}
menu @blah {
  dclick: if $mouse.lb { echo -s doubleclicked in side-listbox on line $1 }
}


Edit: ah you figured it out while I was previewing my post. Still, you might find $mouse.lb useful.
© mIRC Discussion Forums