1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<title>Windows Interface Reference: Mouse structure</title> 6</head> 7 8<body> 9 10<h1>Mouse </h1> 11 12<p>The Mouse structure contains functions to control mouse input to a window.</p> 13 14<pre>structure Mouse : 15 sig 16 type HWND 17 type POINT = { x: int, y: int } 18 val DragDetect : HWND * POINT -> bool 19 val GetCapture : unit -> HWND option 20 val GetDoubleClickTime : unit -> Time.time 21 val ReleaseCapture : unit -> unit 22 val SetCapture : HWND -> HWND option 23 val SetDoubleClickTime : Time.time -> unit 24 val SwapMouseButton : bool -> bool 25 end</pre> 26</body> 27</html> 28