Publié : dim. 15/mai/2005 16:43
Toujours avec la même Lib
autre possibilité avec la fonction suivante :
SetWinBackgroundImage()
Syntax
SetWinBackgroundImage( hWnd, hBitmap )
hWnd = Handle to the Window ( WindowID() )
hBitmap = Handle to a Bitmap ( LoadImage() )
Description
Set the Background-Image for the window.
How to use
;Première soluce:
hWnd = OpenWindow(0, x, y, x2, y2, #WS_POPUP, "Window Name")
hBitmap = LoadImage(1,"MyPicture.bmp")
SetWinBackgroundImage(hWnd, hBitmap)
;Deuxième soluce:
hWnd = OpenWindow(0, x, y, x2, y2, #WS_POPUP, "Window Name")
SetWinBackgroundImage(hWnd, LoadImage(1,"MyPicture.bmp"))
autre possibilité avec la fonction suivante :
SetWinBackgroundImage()
Syntax
SetWinBackgroundImage( hWnd, hBitmap )
hWnd = Handle to the Window ( WindowID() )
hBitmap = Handle to a Bitmap ( LoadImage() )
Description
Set the Background-Image for the window.
How to use
;Première soluce:
hWnd = OpenWindow(0, x, y, x2, y2, #WS_POPUP, "Window Name")
hBitmap = LoadImage(1,"MyPicture.bmp")
SetWinBackgroundImage(hWnd, hBitmap)
;Deuxième soluce:
hWnd = OpenWindow(0, x, y, x2, y2, #WS_POPUP, "Window Name")
SetWinBackgroundImage(hWnd, LoadImage(1,"MyPicture.bmp"))