C# Class BrowserSelect.ForegroundAgent

Datei anzeigen Open project: zumoshi/BrowserSelect Class Usage Examples

Public Methods

Method Description
RestoreWindow ( int hwnd ) : void

sets window state of given hWnd to Restore if it is not maximized also gives said window focus (setForegroundWindow)

Private Methods

Method Description
GetWindowLong ( IntPtr hWnd, int nIndex ) : int
SetForegroundWindow ( IntPtr hWnd ) : int
ShowWindow ( IntPtr hWnd, int nCmdShow ) : bool

Method Details

RestoreWindow() public static method

sets window state of given hWnd to Restore if it is not maximized also gives said window focus (setForegroundWindow)
public static RestoreWindow ( int hwnd ) : void
hwnd int hWnd of window to be restored
return void