There are many topics here about the curious system attribute for panels called "Has Taskbar Button". I have a slightly different request.
I'm trying to give separate taskbar previews for both my Main and Setup panels in my application. I've tried to accomplish this but can't quite get there, particularly when the focus is away from the main panel and on one of the support panels.
1) no "Has Taskbar Button" set on any panels
What I find is that in Windows 10, there is still a taskbar button for the EXE, but its preview changes to the panel that has the focus. This is not ideal, as my users tend to "get lost" navigating and would like to find the main panel in the taskbar.
2) Main panel "Has Taskbar Button" not set. Setup panel is set:
Setup panel has focus, same preview for both panels now

Main panel has focus, separate previews (good!)
Main panel has focus, two different previews
3) Main panel "Has Taskbar Button" is set. Setup panel is set:
When the Setup panel is focused, we now get the Setup preview, a duplicate preview of Setup but with the main window title, and finally the main title and correct preivew.

When the main panel is focused, we now get the correct main panel preview and title twice, and one Setup panel and preview.

Very strange behavior. I'd like to just get one of all my panels!