Example #1
0
 public static bool IsKeyDown(int nVirtKey)
 {
     return((Win32.GetKeyState(nVirtKey) & 32768) != 0);
 }
Example #2
0
 public static void SetRedraw(Control control, bool redraw)
 {
     Win32.SendMessage(control.Handle, 11, redraw ? 1 : 0, 0);
 }