Checking for new tasks running

This is a discussion on Checking for new tasks running within the C# Programming forums, part of the General Programming Boards category; Hey, I was wondering is there a way using C# to check wether a new window pops up ? Basically ...

  1. #1
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,109

    Checking for new tasks running

    Hey,

    I was wondering is there a way using C# to check wether a new window pops up ?

    Basically what i want to achieve is something like controlling an LCD ( which i already know how to do). Its just so that when im playing games or whatsoever that is in fullscreen mode ill get a flash on the lcd when a new window pops up....

    Any kind of eventlistener or something for this ?

    -------
    OS: Windows XP
    Compiler: Microsoft Visual Studio .NET 2003
    -------

    Thanks in advance,

    Ganglylamb,

    :edit:
    nevermind i already figured out how to get information on some of the running processes , with a bit of messing around ill be able to make my own event handler for this thing.

    for those that care
    Code:
    using System.Diagnostics;
    Process[] pro;
    pro = Process.GetProcessesByName("msnmsgr");
    was what i needed, since i want to be able to display the name of the person who contacts me trough msn on the LCD when in a fullscreen application.
    Last edited by GanglyLamb; 07-06-2005 at 11:59 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Array bounds checking
    By rohan_ak1 in forum C Programming
    Replies: 2
    Last Post: 08-26-2008, 11:16 PM
  2. Determaining if a program is running
    By WebmasterMattD in forum Linux Programming
    Replies: 4
    Last Post: 04-09-2002, 05:36 PM
  3. removing default tasks?
    By Scourfish in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 03-19-2002, 12:36 PM
  4. Geophysics student needs help in running a C++ program
    By Unregistered in forum C++ Programming
    Replies: 6
    Last Post: 01-29-2002, 02:15 AM
  5. Ending running tasks
    By Unregistered in forum Windows Programming
    Replies: 6
    Last Post: 11-04-2001, 11:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21