SendKeys

SendKeys

System. Windows .Forms (system. windows .forms.dll) class

This utility class offers three methods to dispatch keypresses to the active application.

Send() sends a string of keystrokes. Nonprintable keys are represented by a series of special character codes between curly braces (for example Page Down is {PGDN} ).

Flush() pumps messages until the keys have all been sent. SendWait() sends the keystrokes and pumps messages until all the keys have been sent. It is equivalent to Send( ) followed by Flush() .

 public class  SendKeys  {  // Public Static Methods  public static void  Flush  ();    public static void  Send  (string  keys  );    public static void  SendWait  (string  keys  ); } 


. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net