Navigation:  thinBasic Modules > UI (User Interface) > CONTROLs >

Control_GetHandle

Previous pageReturn to chapter overviewNext page

 

Description

 

Return the window handle for the specified control ID. This is the functional version of CONTROL HANDLE ...

 

Syntax

 

h = CONTROL_GetHandle(hwnd, ctrlID)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier





 

Remarks

 

This function is the equivalent of the Windows API GetDlgItem function. See MSDN documentation for additional info.

 

Restrictions

 

See also

 

Examples