Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

DialogSetMinimumSize Function

Overview

The DialogSetMinimumSize function sets a limitation of the size of a basic dialog page when being resized.

Syntax/Parameters

Syntax

int = DialogSetMinimumSize ( int w, int h );

Parameters

w

An int specifying the maximum width of the dialog page/window in pixels. Set to zero to release any restrictions.

h

An int specifying the maximum height of the dialog page/window in pixels. Set to zero to release any restrictions.

Return Value

Returns an int value as ERROR_NONE or a formatted error code. Use the GetLastError function to retrieve error information.

Remarks

Setting a minimum size of a dialog prevents the dialog page from being resized to a size smaller than the specified value. The size includes the non-client areas of the window such as the caption.

Restricting the size does not impact the creation size. The function does not check for conflicting values with the DialogSetMaximumSize function.

This function only works on basic dialog pages.

Related Functions

Platform Support

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

Legato IDE, Legato Basic