Tray App icon doesn't show up properly in Alt+Tab menu

  • Thread starter Thread starter Mike V
  • Start date Start date
M

Mike V

Hi,

I have a system tray application, and I want to do one of two things, but
both options seem impossible:

Option 1) I want to have the tray app's icon show up in the Alt+Tab menu
*properly*. Currently it shows up as a generic .NET window icon. If I set
the ShowInTaskBar property to True, the Alt+Tab icon shows up properly, but
this defeats the purpose of the tray app.

Option 2) Alternately, I want to remove the icon from the Alt+Tab menu
altogether. The only way I know to do this involves changing the
FormBorderStyle of my main Form to FixedToolWindow, which gets rid of the
minimize button, but I need this.

I have a 32x32 icon for the application and all of that. Is there any way
to solve this issue?

Thanks,
Mike
 
Nah, that's what I've done and it has no effect. The scaled-down icon
appears in the tray, but when I use Alt+Tab, I see the generic Windows Forms
icon (or whatever you call it -- it's just an icon of a blank application
window) representing my tray app.
 
Back
Top