Dialog_GetControl

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > DIALOGS > Dialog Commands >

Dialog_GetControl

 

Description

 

Retrieves the control ID in the specified dialog box giving the control handle. It is useful in message pump to identify which control has fired an event.

 

Syntax

 

ctrlID = DIALOG_GetControl(hwnd, ctrlHandle)

 

Returns

 

Numeric

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlHandle

Number

No

The windows control identifier.

Usually returned by windows message pump as lParam or wParam

 

Remarks

 

Restrictions

 

See also

 

Examples