Is there a way to tell whether my application is active i.e. any of its windows has .IsActive=true?
I\'m writing messenger app and want it to flash in taskbar when it is
try this, override OnActivated method in your MainForm and do whatever you want
protected override void OnActivated(EventArgs e) { // TODO : Implement your code here. base.OnActivated(e); }
hop this help