Yes, it's quite easy to make a window which covers the desktop.
Then, these little snippets may be of some use.
Unfortunately (damn nuiscance), MS has made some of these ineffective for NT
(Win 2000) as it has more inbuilt security features than you could shake a
stick at.
Dummy:=0;
SystemParametersInfo(SPI_GETFASTTASKSWITCH,1,@Dummy,0);// Disable Alt-Tab
(another shot)
SystemParametersInfo(SPI_SETFASTTASKSWITCH,1,@Dummy,0);//Disable Alt-Tab
SystemParametersInfo(SPI_SCREENSAVERRUNNING,1,@Dummy,0);//Disable
Ctrl-Alt-Del
ShowWindow((FindWindowEx(0, 0, PChar('Shell_TrayWnd'), PChar(''))),
SW_HIDE);
procedure TForm1.FormActivate(Sender: TObject);
begin
form1.WindowState := wsMaximized;
ShowWindow((FindWindowEx(0, 0, PChar('Shell_TrayWnd'), PChar(''))),
SW_HIDE);
Form1.height:=screen.height+100;
end;
BIG HINT:- DONT programme the lines in without 'undoing' them (Change the
last parameter to 1) before exiting. Else there will be much crashing out
and gnashing of teeth.
-----Original Message-----
Hi there,
i have quite a few questions.
i have a program that has to run everytime that
windows starts, since it has to take control every
time someone logs in.
Since someone maliciously could delete the RunOnce
registry key i create it every once in a while in
code, is that the way to go?
anyhow.. once it runs i have to make sure that no
other app can be executed, which is kind of ok
causethe app covers all the screen, but then again, do
i have a chance to disable the shortcuts?
i tried disabling the desktop icons, but i have to
restart the computer everytime i do. so thats not good
so how could i somehow avoid another app running?
#3 (oh my...) i already disabled the taskbar, but the
start button in the keyboard works anyhow
any hints are welcome
thankx
moises lopez
sleeeeeeeep
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
---------------------------------------------------------------------------
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"
---------------------------------------------------------------------------
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"