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 analyzant.com

Import namespace

using System.Runtime.InteropServices;

Win32

[DllImport("user32.dll")]
static extern bool FlashWindow(IntPtr hwnd, bool bInvert);

Code

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



Related Snippets: