Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HELP: Hiding Delphi Application

0 views
Skip to first unread message

Kay Foerster

unread,
Aug 21, 2000, 3:00:00 AM8/21/00
to
Hello!

I would like to hide my Delphi application, so that you can only find in the
Task Manager under WinNT (as process).

If that is not possible, then perhaps it is possible to let it only appear
in the bottom right courner (near the clock).

Do you have any idea?

Thanks in advance
Kay Foerster


Udo Nesshoever

unread,
Aug 21, 2000, 3:00:00 AM8/21/00
to
Kay Foerster wrote:

>I would like to hide my Delphi application, so that you can only find in the
>Task Manager under WinNT (as process).
>
>If that is not possible, then perhaps it is possible to let it only appear
>in the bottom right courner (near the clock).

you might want to have a look to http://www.pics-software.de/faq.html
where you can find the solution to your problems (and many more).

Cheers,
Udo
--
Contact: mailto:newsgro...@gmx.net
Reply to newsgroup. Unrequested mails will be ignored.

Dan McMurtrey

unread,
Aug 21, 2000, 3:00:00 AM8/21/00
to

Kay Foerster wrote in message <8nr8ld$lto$1...@nntp.hamburg.pop.de>...
>Hello!

>
>I would like to hide my Delphi application, so that you can only find in
the
>Task Manager under WinNT (as process).
>
>If that is not possible, then perhaps it is possible to let it only appear
>in the bottom right courner (near the clock).
>
>Do you have any idea?
>
>Thanks in advance
> Kay Foerster
>
Try this in the initializaton..

ExtendedStyle := GetWindowLong(Application.Handle, GWL_EXSTYLE);

SetWindowLong(Application.Handle, GWL_EXSTYLE, ExtendedStyle OR
WS_EX_TOOLWINDOW AND NOT WS_EX_APPWINDOW);
Appllication.Showmainform:=False;

This will hide your app from the application bar (NT , 98 and 95) , and the
task manager as well (Only 95 and 98, not NT) . Beware.


Christian

unread,
Aug 25, 2000, 3:00:00 AM8/25/00
to
How just to hide the program from the applicationbar ???

Christian


"Dan McMurtrey" <dan...@flash.net> skrev i en meddelelse
news:DPdo5.219$J35....@news.flash.net...

Dan McMurtrey

unread,
Aug 25, 2000, 3:00:00 AM8/25/00
to
Christian wrote in message <8o69nr$908$1...@news.cybercity.dk>...

>How just to hide the program from the applicationbar ???
>
>Christian
>

In the OnActivate : ShowWindow(Application.Handle, SW_Hide); Will hide the
'Icon' on the task bar.
Application.Showmainform:=False; Will keep the main form from displaying.

Hope it helps...

Damian Wright

unread,
Aug 25, 2000, 3:00:00 AM8/25/00
to
Sometime ago I wrote a small program in Delphi4 to sync. files between two
machines using FTP, not too fancy and minimal error checking, but it does
implement the features to hide the application from the app. bar and creates
a icon next to the clock that has popups for right-click, etc...

source is at http://home.intekom.com/panther/AT.zip

Damian

Kay Foerster <kay.fo...@edeka.de> wrote in message
news:8nr8ld$lto$1...@nntp.hamburg.pop.de...

Christian

unread,
Aug 26, 2000, 3:00:00 AM8/26/00
to
"Dan McMurtrey" <dan...@flash.net> skrev i en meddelelse
news:qHDp5.721$k57....@news.flash.net...


Oh it does. BUT..... :) I would like the program to be shown in the 'box'
in the application bar where the time ect. is. And furthermore it would be
nice if the program is hidden at startup ( Application.Showmainform:=False )
and when doubleclicked on in the 'box' it becomes visible; It should also
return to the 'box' after minimizing.

I know that this proberbly is a bit to much to ask you to fix for me, but if
you could give me hints where to find this, I would be appreciative.

Thanks in advance.
Christian

Dan McMurtrey

unread,
Aug 26, 2000, 3:00:00 AM8/26/00
to

Christian wrote in message <8o7u2a$sp0$1...@news.cybercity.dk>...

>Oh it does. BUT..... :) I would like the program to be shown in the 'box'
>in the application bar where the time ect. is. And furthermore it would be
>nice if the program is hidden at startup
( Application.Showmainform:=False )
>and when doubleclicked on in the 'box' it becomes visible; It should also
>return to the 'box' after minimizing.
>
>I know that this proberbly is a bit to much to ask you to fix for me, but
if
>you could give me hints where to find this, I would be appreciative.
>
>Thanks in advance.
>Christian
Have a look at: www.rxlib.com a SUPERB set of freeware tools with source.
Look at their RXTrayIcon component.
Delphi Super Page.. http://delphi.icm.edu.pl Look at freeware
TCoolTrayIcon or..
Torry's Page.. www.torry.ru ... or
Search for ...TrayIcon, or System Tray. The component route is the way to
go. Many are freeware with source.

0 new messages