Navigation: thinBasic Modules > UI (User Interface) > DIALOGSs > 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
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |