Reputation: 2234
I have a winform app that is hiding it's UI and waiting on a named pipe message before showing up On receiving the event the thread invokes into the main UI thread and then does the following
Set the opacity to 100 ShowInTaskbar = true; BringToFront();
ON Windows Vista the window does not show up on the taskbar though and the window is in the background . YOu cant say it if you finally find it and click on it, it shows up on the taskbar
any ideas on how to fix this
Upvotes: 2
Views: 1203
Reputation: 3398
If the form has an Owner set it might or might not show up in the taskbar.
Don't set the Owner property and it should show fine (it did for me).
Upvotes: 1
Reputation: 12769
i don't work in vista but it might be better just to flash the taskbar or do a ballon popup or something like that. What your suggesting maybe a bit annoying to a user. Say there typing away and there looking at the keyboard and your window has stolen the focus they look back and find what they just wrote hasn't gone into the app they thought it was going into.like this.
Upvotes: 1