SetLayeredWindowAttributes(hwnd, Key, Alpha, Flags)

Sets the opacity and transparency color key of a layered window.


hwnd : PyHANDLE

handle to the layered window

Key : int

Specifies the color key. Use win32api::RGB to generate value.

Alpha : int

Opacity, in the range 0-255

Flags : int

Combination of win32con.LWA_* values


This function only exists on Win2k and later

Accepts keyword arguments