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

Gets or sets pointer to wnd proc of current window. Used for so-called sub-classing.

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

Syntax

C#
[LCategoryAttribute(typeof(ControlsWin), "LowLevel_c", "Low-level", 
	LCategoryAttribute..::.enmLookUpOrder.ResourceFirst)]
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
[BrowsableAttribute(false)]
public virtual IntPtr WndProcPointer { get; set; }
Visual Basic (Declaration)
<LCategoryAttribute(GetType(ControlsWin), "LowLevel_c", "Low-level",  _
	LCategoryAttribute..::.enmLookUpOrder.ResourceFirst)> _
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _
<BrowsableAttribute(False)> _
Public Overridable Property WndProcPointer As IntPtr
Visual C++
[LCategoryAttribute(typeof(ControlsWin), L"LowLevel_c", L"Low-level", 
	LCategoryAttribute..::.enmLookUpOrder::ResourceFirst)]
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
[BrowsableAttribute(false)]
public:
virtual property IntPtr WndProcPointer {
	IntPtr get ();
	void set (IntPtr value);
}
J#
/** @property */
/** @attribute LCategoryAttribute(ControlsWin, "LowLevel_c", "Low-level", LCategoryAttribute..::.enmLookUpOrder.ResourceFirst) */
/** @attribute EditorBrowsableAttribute(EditorBrowsableState.Advanced) */
/** @attribute BrowsableAttribute(false) */
public IntPtr get_WndProcPointer()
/** @property */
/** @attribute LCategoryAttribute(ControlsWin, "LowLevel_c", "Low-level", LCategoryAttribute..::.enmLookUpOrder.ResourceFirst) */
/** @attribute EditorBrowsableAttribute(EditorBrowsableState.Advanced) */
/** @attribute BrowsableAttribute(false) */
public  void set_WndProcPointer(IntPtr value)
JScript
public function get WndProcPointer () : IntPtr
public function set WndProcPointer (value : IntPtr)

Field Value

Pointer to new wnd proc. Note: Old wnd proc is lost when setting this property. You should consider backing old value up.

Return Value

Pointer to current wnd proc of current window

Remarks

wnd proc (window procedure) is procedure with signature of th WndProc delegate that processes all the messages. You should consider using WndProc property rather then this one. You can do this also with WindowLong[([(WindowLongs])]) with WndProc as argument.

Exceptions

ExceptionCondition
Tools.API..::.Win32APIExceptionGetting or setting of value failed (i.e. Handle is invalid)

See Also