System Tray Application - need hide taskbar icon workaround

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have an app that I want to start minimized to the system tray.
Problem is that there is an activeX component on the form that I need to
use. As activeX components do not support windowless creation, I actually
need to create the window somewhere.

My current approach has been to create the window offscreen at location
-32000, -32000 in the forms constructor. Well hidden I believe.

Works well, activeX comp created, all good.

Next my plan was to Set ShowInTaskBar = false; // coz

This causes the ActiveX creation to fail, I guess because of some window
handle issue.

I need to either solve the creation issue(which I doubt I can, have spent
far too long messing with this) or find another way to hide the taskbar icon.

Ideas on either option?

cheers

Mark
 
Back
Top