Code: Alles auswählen
SetWindowLong_(hwnd,#GWL_EXSTYLE,GetWindowLong_(hwnd,#GWL_EXSTYLE)|#WS_EX_LAYERED)
SetLayeredWindowAttributes_(hwnd,0,150,2); Da wo jetzt die 150 steht kommt der tranzparentwert rein.
Code: Alles auswählen
SetWindowLong_(hwnd,#GWL_EXSTYLE,GetWindowLong_(hwnd,#GWL_EXSTYLE)|#WS_EX_LAYERED)
SetLayeredWindowAttributes_(hwnd,0,150,2); Da wo jetzt die 150 steht kommt der tranzparentwert rein.