C# Class AdvancedLauncher.Tools.Win32.ComCtl32.WindowSubclass

WindowSubclass hooks into the stream of messages that are dispatched to a window.
Inheritance: System.Runtime.ConstrainedExecution.CriticalFinalizerObject, IDisposable
Datei anzeigen Open project: GoldRenard/DMOAdvancedLauncher

Public Methods

Method Description
Dispose ( ) : void
WindowSubclass ( HWND hwnd ) : System

Hooks into the stream of messages that are dispatched to the specified window.

The window must be owned by the calling thread.

Protected Methods

Method Description
Dispose ( bool disposing ) : void
WndProcOverride ( HWND hwnd, WM msg, IntPtr wParam, IntPtr lParam, IntPtr id, IntPtr data ) : IntPtr

Private Methods

Method Description
DisposeHelper ( bool disposing ) : void
IsCorrectThread ( HWND hwnd ) : bool
WindowSubclass ( ) : System
WndProc ( HWND hwnd, WM msg, IntPtr wParam, IntPtr lParam, IntPtr id, IntPtr data ) : IntPtr
WndProcStub ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, IntPtr id, IntPtr data ) : IntPtr

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

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

WindowSubclass() public method

Hooks into the stream of messages that are dispatched to the specified window.
The window must be owned by the calling thread.
public WindowSubclass ( HWND hwnd ) : System
hwnd AdvancedLauncher.Tools.Win32.User32.HWND
return System

WndProcOverride() protected method

protected WndProcOverride ( HWND hwnd, WM msg, IntPtr wParam, IntPtr lParam, IntPtr id, IntPtr data ) : IntPtr
hwnd AdvancedLauncher.Tools.Win32.User32.HWND
msg WM
wParam System.IntPtr
lParam System.IntPtr
id System.IntPtr
data System.IntPtr
return System.IntPtr