Partager via


FormControl.hWnd Method

Definition

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));

Applies to