Navigation:  ThinBASIC Modules > UI (User Interface) > Windows API >

Win_GetDlgItem

Previous pageReturn to chapter overviewNext page

 

Description

 

Retrieves a handle to a control in the specified dialog box.

 

Syntax

 

n = Win_GetDlgItem(hDlg, nIDDlgItem)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

hDlg

Number

No

Handle to the dialog box that contains the control.

nIDDlgItem

Number

No

Specifies the identifier of the control to be retrieved.

 

Remarks

 

For additional info, please refer to MS documentation at: http://msdn.microsoft.com/en-us/library/ms645481(VS.85).aspx

 

Restrictions

 

See also

 

Examples