mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2003
Posts: 39
X
Xanadu Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Jul 2003
Posts: 39
I have a custom window that has info added to it using /aline. Some of this info contains nicks that are also being added to a listbox in the custom window.

How would I go about adding support to the window to right click a nick and have it highlight in the listbox as well as give the nicklist menu for that window.

Thanks

Joined: Feb 2003
Posts: 810
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
I was almost achieving this, combining the HOTLINK event and the RCLICK menu event, but the former simply cancels the latter. Plus, the MOUSE menu event doesn't work for this @window type.. so, there is no way (that I know of) to make this possible (unless by using a DLL, maybe, but such alternative is out of my scope).


* cold edits his posts 24/7
Joined: Oct 2003
Posts: 50
T
Babel fish
Offline
Babel fish
T
Joined: Oct 2003
Posts: 50
I used this:
Code:
menu @window {
  RCLICK { IF ($mouse.lb) && ($sline(@window,1)) { COMMAND } }
]

you have to rebuild the menu by yourself, using a dll (for example popups.dll).


Link Copied to Clipboard