Skip to content

Commit

Permalink
Make SecondWindows fully transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
Khiro95 committed Apr 25, 2024
1 parent e44c218 commit ecf83f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/H.NotifyIcon/Core/WindowUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public static unsafe void MakeTransparent(nint hWndHandle)
_ = PInvoke.SetLayeredWindowAttributes(
hwnd: hWnd,
crKey: new COLORREF((uint)ToWin32(System.Drawing.Color.Black)),
bAlpha: 255,
bAlpha: 0,
dwFlags: LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_COLORKEY | LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_ALPHA).EnsureNonZero();
}

Expand Down

0 comments on commit ecf83f9

Please sign in to comment.