Hi Folks,
I searched the forum for this and came up empty.

I'm trying to use the .ContainsFocus property to find out if something in my form has focus, and it always comes back false, even when I am currently typing on the form...

here's the code I have:

in this code 'this' is a regular System.Windows.Forms Form

Code:
if(!this.ContainsFocus)
{
    this.FlashChatWindow();
    SoundPlayer.Play(iimc.NewMessageArrivalSound);
}
since it's always false it always beeps and flashes, even when you're typing in it.

Has anyone else ever used this and had it work? What am I missing? Thanks for your time.