From WikiChip
Difference between revisions of "mirc/identifiers/$leftwinwid"
m |
|||
Line 1: | Line 1: | ||
{{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. | {{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 22: | Line 23: | ||
== See Also == | == See Also == | ||
− | {{mIRC|$activewid}} | + | * {{mIRC|$activewid}} |
− | {{mIRC|$lactivewid}} | + | * {{mIRC|$lactivewid}} |
− | {{mIRC|$leftwin}} | + | * {{mIRC|$leftwin}} |
{{mIRC identifier list}} | {{mIRC identifier list}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|leftwinwid]] |
Revision as of 16:15, 20 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$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, 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
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
mIRC identifier list