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

Gets or sets specified window long of current window

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

Syntax

C#
[LCategoryAttribute(typeof(ControlsWin), "LowLevel_c", "Low-level", 
	LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)]
public int this[
	WindowLongs Long
] { get; set; }
Visual Basic
<LCategoryAttribute(GetType(ControlsWin), "LowLevel_c", "Low-level",  _
	LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)> _
Public Property WindowLong ( _
	Long As WindowLongs _
) As Integer
	Get
	Set
Visual C++
[LCategoryAttribute(typeof(ControlsWin), L"LowLevel_c", L"Low-level", 
	LCategoryAttribute..::..enmLookUpOrder::ResourceFirst)]
public:
property int WindowLong[WindowLongs Long] {
	int get (WindowLongs Long);
	void set (WindowLongs Long, int value);
}
F#
[<LCategoryAttribute(typeof(ControlsWin), "LowLevel_c", "Low-level", 
    LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)>]
member WindowLong : int with get, set
JScript
JScript does not support indexed properties.

Parameters

Long
Type: Tools.API.Public..::..WindowLongs
Long to get or set. Can be one of WindowLongs values or can be any user-defined integer

Field Value

New value of window long

Return Value

Current value of window long

Exceptions

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

See Also