I normally hide the taskbar without bothering with Windows calls, by making
my app full screen.
I think all you have to do is to set the BorderStyle on your main form to
bsNone or bsSingle, from memory.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Graham Mayes
> Sent: Monday, 10 September 2001 16:56
> To: Multiple recipients of list delphi
> Subject: [DUG]: Hiding taskbar
>
>
> I have a programme in which hiding the taskbar is crucial.
> I use:
> ShowWindow((FindWindowEx(0, 0, PChar('Shell_TrayWnd'), PChar(''))),
> SW_HIDE);
> The above line of code is in AppOnActivate and FormActivate.
>
> My programme runs other programmes.
> When returning from other progammes, all is well, except for one, which
> displays an unwanted taskbar.
>
> How can this be with the above code attached to both the above events? Any
> ideas?
>
> ______________________________________________
> Graham Mayes
> 8 Franklyn Close
> Wakefield
> http://www.answersoft.co.nz
>
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/