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

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com