InstallShield 2019 » InstallScript Language Reference
Use the SizeWindow function to change the size of a specific user interface element. Specify the new size in pixels.
The installation may run under many different screen resolutions. To account for this, you need to use the GetExtents function to determine the overall size of the screen; then use ratios in the parameters of your SizeWindow function call to specify the size of your user interface object.
Note • This function is recommended for advanced developers only.
Syntax
SizeWindow (nObject, nDx, nDy);
Parameters
Parameter |
Description |
||||||||||||
nObject |
Specifies the object to resize. Pass one of the following predefined constants in this parameter:
Note • This parameter does not have any effect on metafiles that are displayed with SdBitmap function. SdBitmap automatically resizes metafiles when they are displayed. In addition, this parameter does not have any effect on the type of billboard that is displayed on a progress dialog when Enable(BBRD) is called.
|
||||||||||||
nDx |
Specifies the horizontal size of the object in pixels. |
||||||||||||
nDy |
Specifies the vertical size of the object in pixels. |
Return Values
Return Value |
Description |
0 |
The function successfully changed the size of the window. |
< 0 |
The function was unable to change the size of the window. |
Additional Information
Use the PlayMMedia function if you want your installation to play an Adobe Flash application file (.swf) or an AVI file.
See Also
InstallShield 2019 Help LibraryApril 2019 |
Copyright Information | Flexera |