Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

SetWallpaper( )

Action: Sets the current wallpaper.
Syntax: SetWallpaper ("wallpaper name", mode)
Parameters: wallpaper name

String that specifies the name of the bitmap to set as the default wallpaper.


Optional parameter specifying one of the following modes:

0 Only change the wallpaper for the duration of the current logon session.
1 Changes the wallpaper in the user profile.
Remarks: The file specified must be a valid bitmap (BMP) file.
0 Wallpaper set
Error code Function failed  

If SetWallpaper ("kixtart.bmp") = 0
  ? "Set current wallpaper to KiXtart.bmp..."