Detect system tray Applications on WinXP?

From: Muzzy (leyandrew_at_yahoo.com)
Date: 12/29/03


Date: Mon, 29 Dec 2003 17:42:34 -0500

Hi,
I can't find a way to get a list launched of programms(pprocesses?)
which put an icon in the system tray. My program connects to an ip
address thru a VPN and obviously it's able to do so only if VPN Client
is launched. So i need to find a way to detect if the VPN client is
launched or not.
Pinging the ip address is not a resolution, because it just doesn't
respond to ping command(firewall?), and also VPN client is 3rd party
app, so i can't hook into it.

What i've done is my program reads all windows' titles using
GetWindowText and find a window with that title. But on WinXP it doesn't
work for some wierd reason - it just doesn't see that window, thou VPN
Client DOES NOT launch as a service, but as a regular program.

So i thought that i could resolve the issue just obtaining info about
system tray icons and their processes and detect VPN Client that way...

Any suggestions are highly appreciated!

Thank you,
Andrey



Relevant Pages

  • Starting a modal dialog hidden
    ... I tried to make an application launch in hidden mode in start up and ... And if we click the icon in system tray it ...
    (microsoft.public.windowsce.app.development)
  • Re: WinXP and Activesync
    ... "will not load automatically or if I try to launch it ... There's no AS icon in the system tray? ... I then have to uninstall it, restart, reinstall, ...
    (microsoft.public.pocketpc.activesync)
  • Icon on system tray
    ... the start-up? ... How can I remove this icon from the system tray? ... since if I need to use it I want to launch it from Start menù) ...
    (microsoft.public.pocketpc.activesync)
  • Messenger Not Working
    ... Last week my messenger stopped working - when I launch it, ... appears in the system tray (with an x next to it as though it is logged ... click on the icon, I end up having to end the process in task manager. ...
    (microsoft.public.windowsxp.messenger)
  • Re: Access Icon not installing on Qiuck Launch bar after an GP push
    ... does the link still launch Access 2002 from Office XP? ... I have set up an adm install point and configuring the MST file to upgrade ... On the quick launch bar I have Word, ... Outlook icon behavior remains the same once they launch the new version it ...
    (microsoft.public.officeupdate)