<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Windows Interface Reference: Keyboard structure</title> </head> <body> <h1>Keyboard </h1> <p>The Keyboard structure contains functions to select the window to receive keyboard input.</p> <pre>structure Keyboard: sig type HWND val EnableWindow : HWND * bool -> bool val <a name="GetActiveWindow">GetActiveWindow</a> : unit -> HWND option val GetFocus : unit -> HWND option val IsWindowEnabled : HWND -> bool val SetActiveWindow : HWND -> HWND val SetFocus : HWND option -> HWND option end</pre> </body> </html>