I’m developing a email client and I want the screen to flash briefly when I receive a mail. I searched anywhere I could in .NET documentation, but the only way I found to achieve it was to use DirectX functions which is of course impossible : I don’t want my users to install DirectX only for a mail client 🙂
Is there a way to do this only with GDI ?
Thanks
Fortunately, there is no way for an application to do this sort of annoying thing. Your program should use the notification area for notifying users of events and/or status changes.
Check out the WPF Notification Area example to see how you can use this in a WPF application…