Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

ControlGetID Function

Overview

The ControlGetID function retrieves the window ID for the specified control.

Syntax/Parameters

Syntax

int = ControlGetID ( handle hwControl );

Parameters

hwControl

A handle to a window, presumably a dialog control.

Return Value

Returns an int for the control or a zero on failure. Use the GetLastError function to retrieve error information.

Remarks

Each dialog control is assigned a 16-bit ID. The ControlGetID function returns the ID associated with a specified window.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic