I've created a custom layered WPF window with the following properties:
- AllowsTransparency = True
- ShowInTaskbar = False
- Background = Transparent
- Topmost = True
- Icon = "Icon.ico"
I've added Icon.ico under "Project Properties"->"Application" tab.
The icon displays as the default WPF window icon if ShowInTaskBar is false, but displays correctly if ShowInTaskbar is true.
We want the icon to show up correctly in the Alt+Tab menu. How can we achieve this and have ShowInTaskbar = False?