Hiding App's form the Ativity-field..

Hi !
I need to hide my app from the activity-field at the bottom of windows. However, I want the icon for the application to be visible on the lower right of the screen next to the time, like the icon for the Interbase, or the volume-control...

Thanx !
/Erik N
Erik NAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MadshiCommented:
Use this one to hide your window from the taskbar:

SetWindowLong(Application.Handle, GWL_EXSTYLE, GetWindowLong(Application.Handle, GWL_EXSTYLE) or WS_EX_TOOLWINDOW);
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MadshiCommented:
Add this line in your project (*.dpr) right in the first line of the "begin .. end" block.

To show an icon in the systray (the area next to the clock) you should use one of those freeware trayIcon components or you can also directly use the API Shell_NotifyIcon.

A good trayIcon component is e.g. included in the free RX library (comes with full sources):

http://rx.demo.ru

Regards, Madshi.
0
MadshiCommented:
Ooops. In the meanwhile the rx library has it's own COM domain:

http://www.rxlib.com/
0
Erik NAuthor Commented:
Nice...
/Erik
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.