Option Explicit
Private Declare Sub releaseCapture Lib "user32" Alias "ReleaseCapture" ()
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Public Sub MakeTranslucent(theform As Form)
releaseCapture
Call SendMessage(theform.hwnd, &HA1, 2, 0&)
End Sub
31 août 2001 à 18:58
Option Explicit
Private Declare Sub releaseCapture Lib "user32" Alias "ReleaseCapture" ()
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Public Sub MakeTranslucent(theform As Form)
releaseCapture
Call SendMessage(theform.hwnd, &HA1, 2, 0&)
End Sub
31 août 2001 à 18:44
31 août 2001 à 10:51
30 août 2001 à 19:22