SftBox/OCX 4.5

SftBox.Window Property

Softel vdm, Inc.

Returns the control's window handle.

Syntax       

Get

VB.NET

Handle = object.Window  As Integer

VB

Handle = object.Window  As Long

C#.NET

int Handle = object.Window;

VC++

long Handle = object->Window;
long Handle = object->GetWindow();

C

HRESULT object->get_Window(long* Handle);

Delphi

Handle := object.Window   : Integer;

object

A SftBox object.

Handle

Returns the control's window handle.

Comments

The Window property returns the control's window handle.

The Window property should not be used and may cause incompatibilities with future releases of SftBox/OCX. The Window property is equivalent to the hWnd property.

The window handle of the edit control portion can be retrieved using the Edit.Window property.

The window handle of the drop down portion can be retrieved using the DropDown.Window property.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com