views:

239

answers:

0

I have a borderless, topmost, clickthrough WPF window that's used to display a notification message to the user that appears and then fades away, and it's created from a WinForms app when I click a button (this is a test project).

Clicking the button multiple times creates several instances of this window. Most of the time it seems to work fine, but sometimes the animation will stop redrawing) and will just stay on the screen, but when I click the button again the window will disappear completely instead of fading out.

Edit: after reading WPF transparent borders causes the UI to stop redrawing It seems like it's a bug in .NET and/or a drivers problem that's yet to be fixed, as my drivers are up to date. Possibly also a 64-bit issue as it doesn't happen on a 32-bit VM.

So does anyone have any ideas on how to work around this? What I need is something that is a borderless topmost form that is invisible to the mouse and fades out, which was really simple (relatively speaking) in WPF, and I hear it's possible to do in WinForms but much more involved.