Call this to make a window completely click through including all controls on it.
public static void MakeWindowCompletelyTransparent(IntPtr hwnd)
Parameters
hwnd
Example
///
protected override void OnSourceInitialized(EventArgs e)
{
base.OnSourceInitialized(e);
var hwnd = new WindowInteropHelper(this).Handle;
WindowsServices.SetWindowExTransparent(hwnd);
}
See also:
Class WindowUtilities© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic