How to show a notification on the screen without affecting the active application [closed]

3

How do I show a notification without affecting the active application? In short, I want the notification to be displayed on the screen and the active application does not lose focus, or if it is a full screen application, I want it to not be minimized.

    
asked by anonymous 27.11.2014 / 16:38

1 answer

1

I do not understand your question very well but it seems to me that you are developing a windows form application. You could make a notification of the ones that appear in the taskbar with the code below:

        NotifyIcon notifyIcon = new NotifyIcon();
        notifyIcon.Visible = true;
        notifyIcon.Icon = SystemIcons.Information;
        notifyIcon.BalloonTipTitle = "Título";
        notifyIcon.BalloonTipText = "Texto da Notificação";
        notifyIcon.ShowBalloonTip(30000);

I hope I have helped. If that's not what you want, explain it better.

    
03.01.2015 / 04:11