<ControlName>.Handle

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Pseudo-object > Control Pseudo-object Methods, Properties, Events > Common Methods and Properties >

<ControlName>.Handle

 

Description

 

Get unique Windows handle of the control.

 

Syntax

 

' Get

controlHandle = <controlName>.Handle

 

Returns

 

Number, handle of the control.

 

Remarks

 

Restrictions

 

Read only property.

 

See also

 

Examples

 

control add label name "myTitle", hDlg, %lTitle"", 5, 5, 100, 25

 

' No need to use hDlg, %lTitle, you can use the name directly

' Will return Win32 handle for the control

MsgBox 0, myTitle.Handle