in your paint event of your form, put :-
ShowWindow(application.handle,SW_HIDE);

Cheers,

Jeremy Coulter
Application Developer

Application Development Centre
Compaq Computer New Zealand Ltd.

Phone:  64 3 371 5724
Fax:            64 3 371 5724
Mobile:       64 0212533214
E-mail: [EMAIL PROTECTED]       
Personal Email: [EMAIL PROTECTED]



-----Original Message-----
From: Jim Zheng [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 12, 2000 12:06 PM
To: Multiple recipients of list delphi
Subject: [DUG]: How to hide a taskbar button


Hi, all,

I want to display a control like a panel outside of form i.e. on desktop. I
do the following:

Windows.SetParent(Panel1.Handle,0);

However a taskbar button for the panel appears on taskbar which I don't
want.

Anyone here knows how to hide it or make it disappear?

Cheers,

Jim

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to