Mouse position: Difference between revisions

Content added Content deleted
(Added EchoLisp)
Line 898: Line 898:
Prints current location of the mouse cursor relative to any active window.
Prints current location of the mouse cursor relative to any active window.
This example relies on the Windows API.
This example relies on the Windows API.
<lang Rust>// rustc 0.9 (7613b15 2014-01-08 18:04:43 -0800)
<lang rust>// rustc 0.9 (7613b15 2014-01-08 18:04:43 -0800)


use std::libc::{BOOL, HANDLE, LONG};
use std::libc::{BOOL, HANDLE, LONG};