Skip to content

Commit

Permalink
fix: Make SecondWindows fully transparent (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
Khiro95 authored Apr 25, 2024
1 parent e44c218 commit 7cc236b
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 7cc236b

Please sign in to comment.