Re: Tray Icons and custom shell
- From: "KM" <konstmor@xxxxxxxxxxxxxxxx>
- Date: Tue, 24 Apr 2007 13:02:18 -0700
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
.
- Prev by Date: Re: Bug Check 0x6B
- Next by Date: Re: How do you avoid extra languages?
- Previous by thread: Re: Bug Check 0x6B
- Next by thread: Re: Tray Icons and custom shell
- Index(es):
Relevant Pages
|