SetWinBackgroundImage

Syntax:

SetWinBackgroundImage( hWnd, hBitmap )

Parameters:

hWnd

=

handle of the window ( WindowID() )

hBitmap

=

handle of the bitmap ( LoadImage() )


Description:

Set the Background-Image for the window.


Example:

  hWnd    = OpenWindow(0, x, y, x2, y2, #WS_POPUP, "Window Name")
  hBitmap = LoadImage(1,"MyPicture.bmp")
  SetWinBackgroundImage(hWnd, hBitmap)

  hWnd    = OpenWindow(0, x, y, x2, y2, #WS_POPUP, "Window Name")
  SetWinBackgroundImage(hWnd, LoadImage(1,"MyPicture.bmp"))


Supported OS:   Windows