How to

flash form taskbar button

Published: 21. December 2008 | Updated: 21. December 2008
License: Microsoft Public License (MS-PL)
Categories: Windows » Win32, Winforms
Tags: C# UI Win32 Windows Winforms
Was this snippet helpful for you? YESYES / NONO
Get Analyzant!

Check your entire website from code to content in minutes with Analyzant, the free analysis suite.

Free download at

Import namespace

using System.Runtime.InteropServices;


static extern bool FlashWindow(IntPtr hwnd, bool bInvert);


In form
IntPtr handle = this.Handle;
FlashWindow(handle, false);
Send us feedback about this snippet »

Related Snippets: