[This is preliminary documentation and is subject to change.]

Procedure that replaces old window procedure of window being subclassed

Namespace: Tools.WindowsT.NativeT
Assembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
protected virtual int NewWndProc(
	IntPtr hwnd,
	WindowMessages msg,
	int wParam,
	int lParam
)
Visual Basic
Protected Overridable Function NewWndProc ( _
	hwnd As IntPtr, _
	msg As WindowMessages, _
	wParam As Integer, _
	lParam As Integer _
) As Integer
Visual C++
protected:
virtual int NewWndProc(
	IntPtr hwnd, 
	WindowMessages msg, 
	int wParam, 
	int lParam
)
F#
abstract NewWndProc : 
        hwnd:IntPtr * 
        msg:WindowMessages * 
        wParam:int * 
        lParam:int -> int 
override NewWndProc : 
        hwnd:IntPtr * 
        msg:WindowMessages * 
        wParam:int * 
        lParam:int -> int 
JScript
protected function NewWndProc(
	hwnd : IntPtr, 
	msg : WindowMessages, 
	wParam : int, 
	lParam : int
) : int

Parameters

hwnd
Type: System..::..IntPtr

[Missing <param name="hwnd"/> documentation for "M:Tools.WindowsT.NativeT.SubclassedNativeWindow.NewWndProc(System.IntPtr,Tools.API.Messages.WindowMessages,System.Int32,System.Int32)"]

msg
Type: Tools.API.Messages..::..WindowMessages
Specifies the message.
wParam
Type: System..::..Int32
Specifies additional message information. The contents of this parameter depend on the value of the msg parameter.
lParam
Type: System..::..Int32
Specifies additional message information. The contents of this parameter depend on the value of the msg parameter.

Return Value

The return value is the result of the message processing and depends on the message sent.

Remarks

Note
Call base class method, if you do not provide custom handling of message being send. This implementation calls original window procedure defined by window being subclassed.

See Also