Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

DialogGetPageHandle Function

Overview

The DialogGetPageHandle function retrieves the window handle for the dialog’s current page (dialog tab) or the main page.

Syntax/Parameters

Syntax

handle = DialogGetPageHandle ( );

Parameters

(none)

 

Return Value

Returns the handle of the current dialog or dialog tab or NULL_HANDLE on failure. Use the GetLastError function to retrieve error information.

Remarks

The DialogGetPageHandle function returns a Windows handle. This handle is not a managed object within Legato, and therefore, the management of this handle is the responsibility of the programmer. The handle should not be closed. The page handle can be used to send controls or the dialog page custom messages.

This function only operates within a dialog procedure. If used outside of a procedure, it will return an error.

Related Functions

Platform Support

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

Legato IDE, Legato Basic