[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.NativeTAssembly: 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
| Exception | Condition |
|---|---|
| Tools.API..::..Win32APIException | Error obtaining curent window procedure |
| System..::..NotSupportedException | Value is being set |