FormControl.hWnd Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the Windows handle for the control.
public:
virtual int hWnd();
public virtual int hWnd ();
abstract member hWnd : unit -> int
override this.hWnd : unit -> int
Public Overridable Function hWnd () As Integer
Returns
The handle for the control.
Remarks
The handle can be used with the Windows API.
The following example shows how to retrieve the Windows handle for a control.
int h;
h = this.hWnd();
info (strfmt("hWnd: %1", h));