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"))
gadgettext avec couleur de fond transparent
-
- Messages : 305
- Inscription : mer. 05/janv./2005 12:58
- Localisation : http://www.tib-net.com/meca/index.htm