Re: Tray Icons and custom shell



Klaus,

Whether you can launch an app from command line or not, completely depends on the app implementation.

It is possible to hide the SysTray but still have the Explorer running in background as a shell. Your custom shell app just needs to
be launched automatically by the Explorer. Some techniques I mentioned here:
http://km-dev.blogspot.com/2007/03/xpe-tip-6-completely-hide-taskbar.html. The down side is that launching Explorer shell increases
the boot time and the footprint of the image in RAM and on disk. It also opens up a security hole in case PC experience is an issue
for your device. Basically you can "disable" Desktop but still have the Taskbar with Notification Area (SysTray) working.

Perhaps it is easier for you find out what command is launched when that systray icon is activated and used. Basically monitor that
application window with a tool like MS Spy++ on the XP Pro install. Very likely that by double-clicking on the icon or by selecting
a context menu item for that icon a message is send to the main window of the app (WM_COMMAND or such). You can always send that
message from your custom app and this way invoke the functions you are looking for.

Often (e.g., for Microsoft components) an item in the context menu for an icon in SysTray launches a control panel applet (with
rundll32 command line). Maybe the same interface is implemented for the WLan driver you are playing with.

--
=========
Regards,
KM


Hello,

I've a custom shell and therefore no system tray. I installed a 3rd party
application for WLAN USB Stick, which normally displays a try icon to access
the app and configure the Wlan stick. Now I'm not able to launch the
appropriate application because without system tray the tray icon ins't
visible. Is it possible to launch applications hiding in system tray
programmatically or from command shell (cmd.exe)? Or on the other hand is it
perhaps possible to display the system tray with a custom shell?

Thanks in advance,
Klaus


.



Relevant Pages

  • Re: Suse 10.0: Unhappy with the KDE menus...[OPINION Only: No valuable Technical data]
    ... and simply issue the commands to launch any app I like. ... Most applications have very self-explanatory names or executables. ... far faster and easier to issue the command 'xmms'. ...
    (alt.os.linux.suse)
  • Re: VB.net Declare as type by variable
    ... > I want to launch a form within my app based on a command line. ... ByVal PartialAssemblyName As String, _ ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How to make my application associate with a file?
    ... Make sure your Main method accepts a string array for command ... Note - don't use myfile use something descriptive and unique to your app. ... Peter Foot ... then office word.exe will be launch and process the ...
    (microsoft.public.pocketpc.developer)
  • Re: Easy question for all expert
    ... I have a compiled vb.net app and I want to give the user a choice to launch ... it from the start line command and pass it a parameter or not. ... Checked by AVG anti-virus system. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Set tray icon
    ... ocx. ... Rather it looks like an app that allows you to launch ... apps from the systray. ...
    (microsoft.public.scripting.wsh)