views:

38

answers:

1

In almost all messengers when your IM window is minimized to the taskbar, IM taskbar item changes color or gets brighter when you have a new message. I've been looking for any help on how to do this using .NET Winforms or WPF

Any code samples?

=====================================================================

EDIT: I used FlashWindow for my WPF window.

Ref: http://www.aeoth.net/blog/2007/04/27/flashing-the-window-in-wpf-c-2/

+4  A: 

You'll want to use the FlashWindowEx function. Basically, get a handle to the window, create a FLASHWINFO structure with the handle and how you want the window to flash (continuously, until it's opened, etc), and pass it into FlashWindowEx.

edit: Here's an example of how to do it in C#.

b0lt