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

Gets wnd proc of current window. Used for so-called window sub-classing.

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public override sealed WndProc WndProc { get; set; }
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public Overrides NotOverridable Property WndProc As WndProc
	Get
	Set
Visual C++
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
public:
virtual property WndProc^ WndProc {
	WndProc^ get () override sealed;
	void set (WndProc^ value) override sealed;
}
F#
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
abstract WndProc : WndProc with get, set
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
override WndProc : WndProc with get, set
JScript
override final function get WndProc () : WndProc
override final function set WndProc (value : WndProc)

Return Value

Current window procedure of window being subclassed. It's usually NewWndProc(IntPtr, WindowMessages, Int32, Int32), unless window was subclassed again.

Remarks

Value of this proeprty cannot be changed

Exceptions

ExceptionCondition
Tools.API..::..Win32APIExceptionError obtaining curent window procedure
System..::..NotSupportedExceptionValue is being set

See Also