How to create a balloon notification in system tray from a Win32 console program?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a C# test program (setup as a console application) that runs a
bunch of other programs like IE / etc. I run this program from a
command window, the other windows cover the command window and I cannot
see the log being generated. In the program execution, there are lots
of delays necessary and many times when the program fails to function
properly and has exited, I cannot tell whether it is in a delay loop or
has exited (as the cmd window is not visible).

I want to have a system by which the user is notified that the program
has ended and he can use the system again. If a balloon notification is
possible by a simple mechanism, that would be great... otherwise, I'm
open to other suggestions on how to notify the user.

I can monitor the log file being generated by another program, but even
that program would have the same window covered-up problem. Note: Just
in case its not clear from the description above - my test program is
an UI automation script that tests IE / other programs / etc and the
user cannot use the system while the program is running.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top