![]()
|
InstallShield 2008 ยป InstallScript Language Reference
The PlaceWindow function changes the position of user interface objects, including billboards. Specify the distance between the sides of the object and the edges of the screen in nDx and nDy.
When using this function be aware that a setup program runs on a variety of screen resolutions. You may want to determine the extents of the screen before you position the objects. The distance is measured in pixels and is between the edge of the object and the edge of the corner of the screen specified.
This function cannot be used to position message boxes or custom dialogs.
PlaceWindow ( nObject, nDx, nDy, nCorner );
| Parameter |
Description |
|---|---|
| nObject |
Specifies the object whose position is to be changed. Pass one of the following predefined constants in this parameter:
When you call PlaceWindow to move the progress indicator or status dialog, be sure to pass the correct constant for the feedback object you have enabled in your setup. For example, if you called Enable (STATUSOLD), you must pass STATUSOLD to PlaceWindow. |
| nDx |
Specifies the distance in pixels between the appropriate edge of the object and the edge of the screen on the horizontal axis. |
| nDy |
Specifies the distance in pixels between the appropriate edge of the object and the edge of the screen on the vertical axis. |
| nCorner |
Specifies from which corner to measure the distances expressed in nDx and nDy. Pass one of the following predefined constants in this parameter:
CENTERED can also be placed in nDx or nDy to center an object only horizontally or only vertically. |
See Also
|
|
Copyright Information | Contact Macrovision |