InstallShield 2016 » InstallScript Language Reference
Project • This information applies to the following project types:
• | InstallScript |
• | InstallScript MSI |
The SetDisplayEffect function specifies the display effect to be used when displaying bitmaps or metafiles with the PlaceBitmap function or when displaying billboards. Once the display effect has been set, all bitmaps subsequently displayed by PlaceBitmap, or billboards, are displayed with this effect until a new effect is set by another call to SetDisplayEffect.
Display effects occur only when placing bitmaps or billboards. No display effects are used when removing bitmaps or billboards.
Note • A bitmap that is displayed by PlaceBitmap with the option BITMAPICON, FULLSCREEN, FULLSCREENSIZE, or TILED is not displayed with display effects. Instead it is displayed normally. For more information, see PlaceBitmap.
Syntax
SetDisplayEffect ( nEffect );
Parameters
Parameter |
Description |
|||||||||||||||||||||
nEffect |
Specifies a display effect. Pass one of the following predefined constants in this parameter. Note that these constants are exclusive; you cannot use the bitwise OR operator and specify more than one. Moreover, this parameter has no effect when BITMAPICON, FULLSCREEN, FULLSCREENSIZE, or TILED is specified when displaying a bitmap with PlaceBitmap.
Note • Only EFF_REVEAL and EFF_HORZREVEAL work with metafiles. |
Return Values
Return Value |
Description |
0 |
Indicates that the function successfully set the display effect. |
< 0 |
Indicates that the function was unable to set the display effect. |
See Also
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |