C# Class WixSharp.Win32

Set of Win32 API wrappers
Afficher le fichier Open project: Eun/WixSharp

Méthodes publiques

Méthode Description
GetRectangle ( this hWnd ) : Rectangle
GetWindowText ( IntPtr wnd ) : string
Hide ( this wnd ) : void
MoveToMiddleOf ( this wnd, Form refForm ) : void
MoveToMiddleOf ( this form, IntPtr refWnd ) : void
MoveToMiddleOf ( this wnd, Rectangle refRect ) : void
Show ( this wnd ) : void
ShowWindow ( IntPtr hWnd, bool show ) : bool

Private Methods

Méthode Description
FindWindow ( string className, string windowName ) : IntPtr
GetForegroundWindow ( ) : IntPtr
GetWindowLong ( IntPtr hwnd, int nIndex ) : long
GetWindowRect ( IntPtr hWnd, System.Windows.Forms.RECT &lpRect ) : bool
GetWindowText ( IntPtr hWnd, StringBuilder lpString, int nMaxCount ) : int
GetWindowTextLength ( IntPtr hWnd ) : int
MoveWindow ( IntPtr hwnd, int x, int y, int cx, int cy, bool repaint ) : bool
SendMessage ( IntPtr hwnd, uint msg, uint wParam, uint lParam ) : int
SetForegroundWindow ( IntPtr hwnd ) : int
SetParent ( IntPtr hWndChild, IntPtr hWndNewParent ) : long
ShowWindow ( IntPtr hWnd, int nCmdShow ) : bool

Method Details

GetRectangle() public static méthode

public static GetRectangle ( this hWnd ) : Rectangle
hWnd this
Résultat System.Drawing.Rectangle

GetWindowText() public static méthode

public static GetWindowText ( IntPtr wnd ) : string
wnd System.IntPtr
Résultat string

Hide() public static méthode

public static Hide ( this wnd ) : void
wnd this
Résultat void

MoveToMiddleOf() public static méthode

public static MoveToMiddleOf ( this wnd, Form refForm ) : void
wnd this
refForm System.Windows.Forms.Form
Résultat void

MoveToMiddleOf() public static méthode

public static MoveToMiddleOf ( this form, IntPtr refWnd ) : void
form this
refWnd System.IntPtr
Résultat void

MoveToMiddleOf() public static méthode

public static MoveToMiddleOf ( this wnd, Rectangle refRect ) : void
wnd this
refRect System.Drawing.Rectangle
Résultat void

Show() public static méthode

public static Show ( this wnd ) : void
wnd this
Résultat void

ShowWindow() public static méthode

public static ShowWindow ( IntPtr hWnd, bool show ) : bool
hWnd System.IntPtr
show bool
Résultat bool