There was a question that went out on the aus-dotnet mailing list about getting the kernel32.dll Beep function to work. Its not that hard assuming you have the rights. The underlying question was, how do you get the users attention when they have the volume turned up loud on their MP3 player listening to The Eagles?

Well, essentially you are dealing with a form of deafness, except its self-induced, just like listening to New Kids on the Block (are they still cool or am I hopelessly out of date). Anyway, the Windows environment has an API specifically for getting the users attention called FlashWindow, I’ve got some code here that shows you how to use it.

Now, there is a second function called FlashWindowEx which has some more capabilities and would remove the need for the timer in my component, however I wasn’t able to get it to work for some reason (still investigating) but figured the FlashWindow implementation would be interesting to look at away.