C# Class Windawesome.Utilities

Exibir arquivo Open project: kocubinski/windawesome

Public Methods

Method Description
DoForSelfAndOwnersWhile ( IntPtr hWnd, Predicate action ) : IntPtr
GetRootOwner ( IntPtr hWnd ) : IntPtr
GetWindowSmallIconAsBitmap ( IntPtr hWnd, Action action ) : void
IsAltTabWindow ( IntPtr hWnd ) : bool
IsAppWindow ( IntPtr hWnd ) : bool
IsVisibleAndNotHung ( Window window ) : bool
MaximizeApplication ( IntPtr hWnd ) : void
MinimizeApplication ( IntPtr hWnd ) : void
MoveMouseToMiddleOf ( Rectangle bounds ) : void
QuitApplication ( IntPtr hWnd ) : void
RestoreApplication ( IntPtr hWnd ) : void
RunApplication ( string path, string arguments = "" ) : void
WindowIsNotHung ( IntPtr hWnd ) : bool
WindowIsNotHung ( Window window ) : bool

Method Details

DoForSelfAndOwnersWhile() public static method

public static DoForSelfAndOwnersWhile ( IntPtr hWnd, Predicate action ) : IntPtr
hWnd System.IntPtr
action Predicate
return System.IntPtr

GetRootOwner() public static method

public static GetRootOwner ( IntPtr hWnd ) : IntPtr
hWnd System.IntPtr
return System.IntPtr

GetWindowSmallIconAsBitmap() public static method

public static GetWindowSmallIconAsBitmap ( IntPtr hWnd, Action action ) : void
hWnd System.IntPtr
action Action
return void

IsAltTabWindow() public static method

public static IsAltTabWindow ( IntPtr hWnd ) : bool
hWnd System.IntPtr
return bool

IsAppWindow() public static method

public static IsAppWindow ( IntPtr hWnd ) : bool
hWnd System.IntPtr
return bool

IsVisibleAndNotHung() public static method

public static IsVisibleAndNotHung ( Window window ) : bool
window Window
return bool

MaximizeApplication() public static method

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

MinimizeApplication() public static method

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

MoveMouseToMiddleOf() public static method

public static MoveMouseToMiddleOf ( Rectangle bounds ) : void
bounds System.Drawing.Rectangle
return void

QuitApplication() public static method

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

RestoreApplication() public static method

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

RunApplication() public static method

public static RunApplication ( string path, string arguments = "" ) : void
path string
arguments string
return void

WindowIsNotHung() public static method

public static WindowIsNotHung ( IntPtr hWnd ) : bool
hWnd System.IntPtr
return bool

WindowIsNotHung() public static method

public static WindowIsNotHung ( Window window ) : bool
window Window
return bool