C# Class TimesheetHelper.Win32

Datei anzeigen Open project: enriquein/TimesheetHelper

Public Properties

Property Type Description
WH_KEYBOARD_LL int
WM_KEYDOWN int

Public Methods

Method Description
GetCurrentWindowTitle ( ) : string
SetHook ( LowLevelKeyboardProc proc ) : IntPtr

Private Methods

Method Description
CallNextHookEx ( IntPtr hhk, int nCode, IntPtr wParam, IntPtr lParam ) : IntPtr
GetForegroundWindow ( ) : IntPtr
GetModuleHandle ( string lpModuleName ) : IntPtr
GetWindowText ( IntPtr hWnd, StringBuilder lpString, int nMaxCount ) : int
GetWindowTextLength ( IntPtr hWnd ) : int
SetWindowsHookEx ( int idHook, LowLevelKeyboardProc lpfn, IntPtr hMod, uint dwThreadId ) : IntPtr
UnhookWindowsHookEx ( IntPtr hhk ) : bool

Method Details

GetCurrentWindowTitle() public static method

public static GetCurrentWindowTitle ( ) : string
return string

SetHook() public static method

public static SetHook ( LowLevelKeyboardProc proc ) : IntPtr
proc LowLevelKeyboardProc
return System.IntPtr

Property Details

WH_KEYBOARD_LL public_oe static_oe property

public static int WH_KEYBOARD_LL
return int

WM_KEYDOWN public_oe static_oe property

public static int WM_KEYDOWN
return int