System Tray Application - need hide taskbar icon workaround

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
 
S

Sijin Joseph

Have you tried setting the property after the ActiveX control has been
created?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top