mIRC Home    About    Download    Register    News    Help

Topic Options
#59269 - 05/11/03 09:03 PM using right click in a custom window
Xanadu Offline
Ameglian cow

Registered: 02/07/03
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

Top
#59270 - 06/11/03 12:22 AM Re: using right click in a custom window
cold Offline
Hoopy frood

Registered: 25/02/03
Posts: 810
Loc: Brazil
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

Top
#59271 - 08/11/03 04:49 PM Re: using right click in a custom window
Tsunami Offline
Babel fish

Registered: 17/10/03
Posts: 50
Loc: The Netherlands
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).
_________________________
Tsunami Productions

Top