C# Class AdvancedLauncher.Tools.Interop.WindowBase

Inheritance: IDisposable
Datei anzeigen Open project: GoldRenard/DMOAdvancedLauncher

Public Methods

Method 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

Protected Methods

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

Private Methods

Method 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 method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Hide() public method

public Hide ( ) : bool
return bool

Initialize() protected method

protected Initialize ( ) : void
return void

Maximize() public method

public Maximize ( ) : bool
return bool

Minimize() public method

public Minimize ( bool force ) : bool
force bool
return bool

OnMessage() protected method

protected OnMessage ( WM message, IntPtr wParam, IntPtr lParam ) : IntPtr
message WM
wParam System.IntPtr
lParam System.IntPtr
return System.IntPtr

Restore() public method

public Restore ( ) : bool
return bool

SetLayeredWindowAttributes() public method

public SetLayeredWindowAttributes ( byte alpha, Color colorKey = null ) : void
alpha byte
colorKey Color
return void

Show() public method

public Show ( WindowShowState showState = WindowShowState.Current, bool activate = true ) : bool
showState WindowShowState
activate bool
return bool