C# Class GestSpace.Interop.user32

Show file Open project: NicolasDorier/GestSpace

Public Methods

Method Description
CountVisibleWindows ( ) : int
GetAltTabWindows ( ) : IEnumerable
SetForeground ( IntPtr hWnd ) : void

Private Methods

Method Description
AttachThreadInput ( uint idAttach, uint idAttachTo, bool fAttach ) : bool
EnumDesktopWindows ( IntPtr hDesktop, EnumDelegate lpEnumCallbackFunction, IntPtr lParam ) : bool
EnumDesktopWindows ( IntPtr hDesktop, EnumDesktopWindowsDelegate lpfn, IntPtr lParam ) : bool
EnumWindows ( EnumWindowsProc lpEnumFunc, IntPtr lParam ) : bool
GetActiveWindow ( ) : IntPtr
GetForegroundWindow ( ) : IntPtr
GetParent ( IntPtr hWnd ) : IntPtr
GetProcessName ( IntPtr hWnd ) : string
GetWindow ( IntPtr hWnd, GetWindow_Cmd uCmd ) : IntPtr
GetWindowLong ( IntPtr hWnd, int nIndex ) : int
GetWindowText ( IntPtr hWnd, StringBuilder lpWindowText, int nMaxCount ) : int
GetWindowText ( IntPtr hWnd ) : string
GetWindowThreadProcessId ( IntPtr hWnd, uint &lpdwProcessId ) : uint
IsIconic ( IntPtr hWnd ) : bool
IsWindowVisible ( IntPtr hWnd ) : bool
SendMessage ( IntPtr hWnd, UInt32 Msg, IntPtr wParam, IntPtr lParam ) : IntPtr
SetForegroundWindow ( IntPtr hWnd ) : bool
ShowWindow ( IntPtr hWnd, ShowWindowCommands nCmdShow ) : bool

Method Details

CountVisibleWindows() public static method

public static CountVisibleWindows ( ) : int
return int

GetAltTabWindows() public static method

public static GetAltTabWindows ( ) : IEnumerable
return IEnumerable

SetForeground() public static method

public static SetForeground ( IntPtr hWnd ) : void
hWnd System.IntPtr
return void