I want to cut out part of a firemonkey form, by calling SetLayeredWindowAttributes with LWA_COLORKEY, the black parts of the form becomes click through but not transparent?
uses
Winapi.Windows, FMX.Platform.Win
SetWindowLong(FmxHandleToHWND(Form1.Handle), GWL_EXSTYLE, GetWindowLong(FmxHandleToHWND(Form1.Handle), GWL_EXSTYLE) or WS_EX_LAYERED);
SetLayeredWindowAttributes( FmxHandleToHWND(Form1.Handle), RGB(0,0,0), 70, LWA_COLORKEY );