From WikiChip
Difference between revisions of "mirc/identifiers/$leftwinwid"
(Created $leftwinwid) |
(→See Also) |
||
Line 27: | Line 27: | ||
[[$lactivewid identifier - mIRC|$lactivewid]] | [[$lactivewid identifier - mIRC|$lactivewid]] | ||
+ | |||
+ | [[Category:mIRC identifiers]] |
Revision as of 18:40, 23 June 2014
$leftwinwid is an identifier that works for mouse events in custom picture windows. Whenever the mouse leaves a picture window, the $leftwinwid stores the window ID for that event.
Synopsis
$leftwinwid
Parameters
None
Example
Custom script that listens for the mouse leaving @tester
alias testscript { $iif($window(@tester),clear @tester,window -p @tester) } menu @tester { leave:clear @tester | drawtext @tester 1 15 15 Mouse left window with ID $leftwinwid }
Once the above example has fired up, simply scroll your mouse over the @tester window, and then scroll your mouse outside of the window. You will notice that in the top-left corner you will have some text that say Mouse left window with ID <WindowID>, where <WindowID> is replaced with the actual window's ID.
Compatibility
Added: mIRC v6.2
Added On: 28/07/2006