When our application starts programmatically (either through user actions in the MSI installer, or when starting a new instance) in Windows Vista (also happens in the beta version of Windows 7), it will not appear on the taskbar and will not be focused. Alt-tabbing to it will make it display correctly in the taskbar and remain there.
What causes this? I have already seen this in some other applications, but I donβt know why. Out is a .NET WinForms application. Never seen this happen in XP, only Vista and 7
Edit: Well, it seems that the only time this happens reproducibly is when it is started by the installer, I believe that in other cases this happens, but I can just be crazy. The startup code is a little complicated to publish, because we process various command line launch options, and it starts the waveform before starting the main application, etc.
Has anyone had to deal with this scenario before and worked?
windows-vista winforms taskbar
Davy8
source share