From WikiChip
Difference between revisions of "mirc/identifiers/$leftwinwid"
< mirc‎ | identifiers

(Created $leftwinwid)
 
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''$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.
+
{{mirc title|$leftwinwid Identifier}}'''$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 ==
 
== Synopsis ==
Line 5: Line 6:
  
 
== Parameters ==
 
== Parameters ==
 +
None
 +
 +
== Properties ==
 
None
 
None
  
Line 16: Line 20:
 
}</source>
 
}</source>
  
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.
+
Once the above example has fired up, the mouse can now be hovered over the ''@tester'' window, and then moved outside of the window. In the top-left corner there will now be some text that says ''Mouse left window with ID <WindowID>'', where <WindowID> is replaced with the actual window's ID.
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v6.2
+
{{mIRC compatibility|6.2}}
 
 
Added On: 28/07/2006
 
  
== See Also ==
+
== See also ==
[[$activewid identifier - mIRC|$activewid]]
+
* {{mIRC|$activewid}}
 +
* {{mIRC|$lactivewid}}
 +
* {{mIRC|$leftwin}}
 +
* {{mIRC|$leftwincid}}
 +
{{mIRC identifier list}}
  
[[$lactivewid identifier - mIRC|$lactivewid]]
+
[[Category:mIRC identifiers|leftwinwid]]

Latest revision as of 16:29, 28 October 2017

$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[edit]

$leftwinwid

Parameters[edit]

None

Properties[edit]

None

Example[edit]

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, the mouse can now be hovered over the @tester window, and then moved outside of the window. In the top-left corner there will now be some text that says Mouse left window with ID <WindowID>, where <WindowID> is replaced with the actual window's ID.

Compatibility[edit]

Added: mIRC v6.2
Added on: 28 Jul 2006
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See also[edit]

[Expand]
v · d · e mIRC identifier list