SftBox/OCX 4.5

SftBox.hWnd Property

Softel vdm, Inc.

Returns the control's window handle.

Syntax       

Get

VB.NET

Handle = object.hWnd  As Integer

VB

Handle = object.hWnd  As OLE_HANDLE

C#.NET

int Handle = object.hWnd;

VC++

OLE_HANDLE Handle = object->hWnd;
OLE_HANDLE Handle = object->GethWnd();

C

HRESULT object->get_hWnd(OLE_HANDLE* Handle);

Delphi

Handle := object.hWnd  : Cardinal;

object

A SftBox object.

Handle

Returns the control's window handle.

Comments

The hWnd property returns the control's window handle.

The hWnd property should not be used and may cause incompatibilities with future releases of SftBox/OCX. The hWnd property is equivalent to the Window 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