Nice !
Another example, which can be useful, to set transparency
:
code:
Transparency=100 // 0=Invisible, 255=Opaque
Hwnd=Interop.Call("User32.dll","FindWindowW","Shell_TrayWnd",0); // Taskbar
// StartMenu : Hwnd=Interop.Call("User32.dll","FindWindowW","DV2ControlHost",0);
Interop.Call("User32.dll","SetWindowLongW",Hwnd,-20,524288);
Interop.Call("User32.dll","SetLayeredWindowAttributes",Hwnd,0,Transparency,2);
// Disable Transparency : Interop.Call("User32.dll","SetWindowLongW",Hwnd,-20,0);