Author Topic: Need help activating SysTray apps  (Read 76 times)

snowsnowsnow

  • Full Member
  • ***
  • Posts: 237
Need help activating SysTray apps
« on: February 09, 2018, 09:36:50 am »
Background: On some of my Windows machines, I do not run "EXPLORER.EXE" as my desktop shell.  This is for a variety of personal reasons which do not concern us in this thread.

Usually, I either use a shell of my own creation (written in WinBatch, of course) or just use CMD.EXE.  This  is installed in the system via the usual registry hack.

The problem: This works just fine in every way and I'm quite happy with it, except (of course) for one little thing.  That is, some applications install themselves in such a way that the only way to interact with them is via the systray.  That is, in order to do anything with them, you have to right click on their little icon in the systray, and select the option to "Show" the window.  Once the window is "shown", then you can interact with it normally.  Since the shells that I use do not have a systray, I cannot bring up these windows.

What I am looking for: I'm 98% sure that there is some kind of Windows API that one can use to access the systray area, and that it can be done in WB using DllCalls()s and the like.  That is, a way to get to it other than physically mouse-clicking in the area.  I'm sure someone here knows how to do this...  As noted, I am looking for a solution in WB.

Side note: Once, long, long ago, I solved this problem by running the ReactOS shell (an EXPLORER clone) as a process on my desktop - this actually worked, because it came up as a window on the desktop, complete with a systray, and you could use that to get your systray app visible.  Pretty neat, but obviously a kludge.  But it does show that it is possible for a user process to do the needed thing.

Unfortunately, that version of ReactOS is no longer available, and I have no way to retrieve the version I had so long ago.  Shame, that...

kdmoyers

  • Full Member
  • ***
  • Posts: 211
Re: Need help activating SysTray apps
« Reply #1 on: February 09, 2018, 04:05:44 pm »
I either use a shell of my own creation (written in WinBatch, of course)
Woof! that's hard core -- awesome!
The mind is everything; What you think, you become.