Jak zrobić żeby mrugało okno aplikacji w taskbarze jak np. przychodząca wiadomość na gg?
Pozdrawiam.
0
0
http://www.thescripts.com/forum/thread273542.html
ew. cos dalej na http://www.google.pl/search?hl=pl&q=c%23+blinking+taskbar+window&btnG=Szukaj&lr=
pozdrawiam
johny
0
Dzięki za pomoc!! A tu jeszcze odpowiedz w sam raz dla blondynki :]
Put this in your using section to use COMInterop:
using System.Runtime.InteropServices;
Put this declaration in your class at the function level:
[DllImport("user32.DLL", EntryPoint="FlashWindow")]
public static extern int FlashWindow(int hwnd ,int bInvert );
Put this code in a timer function:
int flash = 0;
private void timer1_Tick(object sender, System.EventArgs e)
{
FlashWindow(Handle.ToInt32(),flash);
flash=flash==0?1:0;
}