How about making your app behave as a screen saver? This disables and hides
the task bar.
var
NoUse: Integer ;
begin
SystemParametersInfo(SPI_SCREENSAVERRUNNING, 0, @NoUse, 0);
end ;
Dave.
-----Original Message-----
From: Graham Mayes [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 4:56 PM
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/