Control_GetHandle

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Commands >

Control_GetHandle

 

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