C# Class ZForge.Controls.XPTable.Win32.NativeWindow

Summary description for NativeWindow
Show file Open project: zhuangyy/Motion

Public Methods

Method Description
AssignHandle ( IntPtr hWnd ) : void

Assigns a handle to this window

DefWndProc ( System &m ) : void

Invokes the default window procedure associated with this window. It is an error to call this method when the Handle property is 0

NativeWindow ( ) : System

Initializes a new instance of the NativeWindow class

ReleaseHandle ( ) : void

Releases the handle associated with this window

Protected Methods

Method Description
WndProc ( System &msg ) : void

Invokes the default window procedure associated with this window

Private Methods

Method Description
CallWindowProc ( IntPtr prevWndFunc, IntPtr hWnd, int iMsg, IntPtr wParam, IntPtr lParam ) : IntPtr
SetWindowLong ( IntPtr hWnd, int nIndex, IntPtr wndFunc ) : IntPtr
SetWindowLong ( IntPtr hWnd, int nIndex, WndProcDelegate wndProcDelegate ) : IntPtr
WndProc ( IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam ) : IntPtr

Handler for the WndProcDelegate

Method Details

AssignHandle() public method

Assigns a handle to this window
public AssignHandle ( IntPtr hWnd ) : void
hWnd System.IntPtr The handle to assign to this window
return void

DefWndProc() public method

Invokes the default window procedure associated with this window. It is an error to call this method when the Handle property is 0
public DefWndProc ( System &m ) : void
m System A Message that is associated with the current Windows message
return void

NativeWindow() public method

Initializes a new instance of the NativeWindow class
public NativeWindow ( ) : System
return System

ReleaseHandle() public method

Releases the handle associated with this window
public ReleaseHandle ( ) : void
return void

WndProc() protected method

Invokes the default window procedure associated with this window
protected WndProc ( System &msg ) : void
msg System A Message that is associated with the current Windows message
return void