GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Nine — Dialog Functions (continued)
Overview
The DialogSetMaximumSize function sets a limitation of the size of a basic dialog page when being resized.
Syntax/Parameters
Syntax
int = DialogSetMaximumSize ( 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 maximum size of a dialog prevents the dialog page from being resized to a size larger 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 DialogSetMinimumSize 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
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.