SetWallpaper

Description:

baSetWallpaper allows you to set the desktop wallpaper.

Platforms:

Windows and Macintosh

Usage:

Result = baSetWallpaper( FileName , Tile )

Arguments:

String, integer
FileName is the file name of the wallpaper.
Tile is the placement of the wallpaper. Can be one of:
   0  Center
   1  Tile
   2  Stretch

Returns:

String.
Returns the file name of the previous wallpaper.

Examples:

Director:
Old = baSetWallpaper( "c:\windows\arcade.bmp", 0 )

Authorware:
Old := baSetWallpaper( "c:\\windows\\arcade.bmp", 0 )
 

Notes:

You should use the full path name of the wallpaper. A empty string will remove the wallpaper.

On Macintosh, the Tile argument is ignored and the previous wallpaper is not returned.

 

See also:

baSetPattern