C# this.Activate(); alternative...

Associate
Joined
18 Oct 2002
Posts
220
Location
London, UK
Hi,

Does anyone know of a standard C# method that will cause my app to blink / flash on the taskbar when it is not in focus? I've tried this.Activate(); but all it does is flash if I'm actively moving another Application when it is called... if I'm just working in another App it just tries to steal focus... Which is obviously just annoying!!! ;)

If anyone can help then I'd really appreciate it as I've been googling it for about a day now!!

Cheers,
Melon.
 
Not sure about anything in the .NET framework itself but I've used the FlashWindow API call (in user32.dll) to do a similar task.
If worse comes to worse you can always call this.
 
Back
Top Bottom