C# Class Windawesome.Utilities

Afficher le fichier Open project: kocubinski/windawesome

Méthodes publiques

Méthode 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 méthode

public static DoForSelfAndOwnersWhile ( IntPtr hWnd, Predicate action ) : IntPtr
hWnd System.IntPtr
action Predicate
Résultat System.IntPtr

GetRootOwner() public static méthode

public static GetRootOwner ( IntPtr hWnd ) : IntPtr
hWnd System.IntPtr
Résultat System.IntPtr

GetWindowSmallIconAsBitmap() public static méthode

public static GetWindowSmallIconAsBitmap ( IntPtr hWnd, Action action ) : void
hWnd System.IntPtr
action Action
Résultat void

IsAltTabWindow() public static méthode

public static IsAltTabWindow ( IntPtr hWnd ) : bool
hWnd System.IntPtr
Résultat bool

IsAppWindow() public static méthode

public static IsAppWindow ( IntPtr hWnd ) : bool
hWnd System.IntPtr
Résultat bool

IsVisibleAndNotHung() public static méthode

public static IsVisibleAndNotHung ( Window window ) : bool
window Window
Résultat bool

MaximizeApplication() public static méthode

public static MaximizeApplication ( IntPtr hWnd ) : void
hWnd System.IntPtr
Résultat void

MinimizeApplication() public static méthode

public static MinimizeApplication ( IntPtr hWnd ) : void
hWnd System.IntPtr
Résultat void

MoveMouseToMiddleOf() public static méthode

public static MoveMouseToMiddleOf ( Rectangle bounds ) : void
bounds System.Drawing.Rectangle
Résultat void

QuitApplication() public static méthode

public static QuitApplication ( IntPtr hWnd ) : void
hWnd System.IntPtr
Résultat void

RestoreApplication() public static méthode

public static RestoreApplication ( IntPtr hWnd ) : void
hWnd System.IntPtr
Résultat void

RunApplication() public static méthode

public static RunApplication ( string path, string arguments = "" ) : void
path string
arguments string
Résultat void

WindowIsNotHung() public static méthode

public static WindowIsNotHung ( IntPtr hWnd ) : bool
hWnd System.IntPtr
Résultat bool

WindowIsNotHung() public static méthode

public static WindowIsNotHung ( Window window ) : bool
window Window
Résultat bool