C# Class AdvancedLauncher.Tools.Interop.WindowBase

Inheritance: IDisposable
Afficher le fichier Open project: GoldRenard/DMOAdvancedLauncher

Méthodes publiques

Méthode Description
Dispose ( ) : void
Hide ( ) : bool
Maximize ( ) : bool
Minimize ( bool force ) : bool
Restore ( ) : bool
SetLayeredWindowAttributes ( byte alpha, Color colorKey = null ) : void
Show ( WindowShowState showState = WindowShowState.Current, bool activate = true ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
Initialize ( ) : void
OnMessage ( WM message, IntPtr wParam, IntPtr lParam ) : IntPtr

Private Methods

Méthode Description
InitializeFromFirstMessage ( IntPtr hwnd, int message, IntPtr wParam, IntPtr lParam ) : IntPtr

Called from WindowClass.CreateWindow to intialize this instance when the HWND has been created.

TransferHandleOwnership ( StrongHWND hwnd ) : void
WindowBase ( ) : System
WndProc ( IntPtr hwnd, int message, IntPtr wParam, IntPtr lParam ) : IntPtr

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Hide() public méthode

public Hide ( ) : bool
Résultat bool

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

Maximize() public méthode

public Maximize ( ) : bool
Résultat bool

Minimize() public méthode

public Minimize ( bool force ) : bool
force bool
Résultat bool

OnMessage() protected méthode

protected OnMessage ( WM message, IntPtr wParam, IntPtr lParam ) : IntPtr
message WM
wParam System.IntPtr
lParam System.IntPtr
Résultat System.IntPtr

Restore() public méthode

public Restore ( ) : bool
Résultat bool

SetLayeredWindowAttributes() public méthode

public SetLayeredWindowAttributes ( byte alpha, Color colorKey = null ) : void
alpha byte
colorKey Color
Résultat void

Show() public méthode

public Show ( WindowShowState showState = WindowShowState.Current, bool activate = true ) : bool
showState WindowShowState
activate bool
Résultat bool