On 26 Sep 2003 07:28:45 -0700, JC <ja*********@btinternet.com> wrote:
Hi all!
I have written a little Instant messenger application and I want the
task bar button to flash when a message is recieved - and herein is my
problem - I'm not sure how to make the task bar button flash! Any help
woudl be gratefully revieved.
Thanks
JC
JC,
You can call the FlashWindow or FlashWindowEx API function through the P/Invoke layer in order to do this. The declaration is as follows:
[DllImport("user32.dll")]
public static extern bool FlashWindow(IntPtr hWnd, bool bInvert);
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- nick(d0t)paldino=At-exisconsulting'dot|com