C# Class BrowserTools.Utils

Datei anzeigen Open project: DevExpress/testcafe-browser-natives

Public Methods

Method Description
ForceForegroundWindow ( IntPtr hWnd ) : void
GetClassName ( IntPtr hWnd ) : string
GetForegroundWindow ( ) : IntPtr
GetWindowInfo ( IntPtr hWnd ) : WindowInfo
GetWindowRect ( IntPtr hWnd ) : Rect
GetWindowTitle ( IntPtr hWnd ) : string
IsWindowOnCurrentVirtualDesktop ( IntPtr hWnd ) : bool

Private Methods

Method Description
GetClassName ( IntPtr hWnd, StringBuilder lpClassName, int nMaxCount ) : int
GetTopWindow ( IntPtr hWnd = default(IntPtr) ) : IntPtr
GetWindow ( IntPtr hWnd, uint uCmd ) : IntPtr
GetWindowInfo ( IntPtr hWnd, WindowInfo &pwi ) : IntPtr
GetWindowRect ( IntPtr hWnd, Rect &rect ) : IntPtr
HasZeroWindowRect ( IntPtr hWnd ) : bool
IsStartButton ( IntPtr hWnd ) : bool
IsTaskBar ( IntPtr hWnd ) : bool
IsWindowVisible ( IntPtr hWnd ) : bool
SendMessageTimeout ( IntPtr hWnd, UInt32 Msg, IntPtr wParam, IntPtr lParam, UInt32 fuFlags, UInt32 uTimeout, long &lpdwResult ) : IntPtr
SendMessageTimeout ( IntPtr hWnd, UInt32 Msg, IntPtr wParam, StringBuilder lParam, UInt32 fuFlags, UInt32 uTimeout, IntPtr lpdwResult ) : IntPtr
SetWindowPos ( IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int width, int height, uint uFlags ) : bool

Method Details

ForceForegroundWindow() public static method

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

GetClassName() public static method

public static GetClassName ( IntPtr hWnd ) : string
hWnd System.IntPtr
return string

GetForegroundWindow() public static method

public static GetForegroundWindow ( ) : IntPtr
return System.IntPtr

GetWindowInfo() public static method

public static GetWindowInfo ( IntPtr hWnd ) : WindowInfo
hWnd System.IntPtr
return WindowInfo

GetWindowRect() public static method

public static GetWindowRect ( IntPtr hWnd ) : Rect
hWnd System.IntPtr
return Rect

GetWindowTitle() public static method

public static GetWindowTitle ( IntPtr hWnd ) : string
hWnd System.IntPtr
return string

IsWindowOnCurrentVirtualDesktop() public static method

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