<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Windows Interface Reference: Mouse structure</title> </head> <body> <h1>Mouse </h1> <p>The Mouse structure contains functions to control mouse input to a window.</p> <pre>structure Mouse : sig type HWND type POINT = { x: int, y: int } val DragDetect : HWND * POINT -> bool val GetCapture : unit -> HWND option val GetDoubleClickTime : unit -> Time.time val ReleaseCapture : unit -> unit val SetCapture : HWND -> HWND option val SetDoubleClickTime : Time.time -> unit val SwapMouseButton : bool -> bool end</pre> </body> </html>