Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how can i do that my program will have full screen?

Posted on 1998-07-09
7
Medium Priority
?
141 Views
Last Modified: 2010-04-04
i need a program that disable the alt+ctrl+del option
and hide the task bar
0
Comment
Question by:saar071697
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 4

Expert Comment

by:BoRiS
ID: 1357425
saar

the bestway I have found to do this is for your app to fake that it's running a screensaver

like this (will disable alt-tab and ctrl-alt-del)

   var
      Fake : integer;
   begin
     Fake := 0;
     {Disable ALT-TAB}
     SystemParametersInfo( SPI_SETFASTTASKSWITCH, 1, @Fake, 0);
     {Disable CTRL-ALT-DEL}
     SystemParametersInfo( SPI_SCREENSAVERRUNNING, 1, @Fake, 0);
   end.

then to hide your app from the taskbar use this...

ShowWindow(Application.handle, SW_HIDE); //to hide from taskbar
ShowWindow(Application.Handle SW_SHOW); //to show on taskbar

Later
BoRiS


0
 
LVL 2

Author Comment

by:saar071697
ID: 1357426
boris: thank you for the alt-ctrl-del and the alt-tab.
but about the task bar i need to hide THE task bar and not to hide from the taskbar.
and please say me where i need to put this text?
0
 
LVL 2

Author Comment

by:saar071697
ID: 1357427
boris: thank you for the alt-ctrl-del and the alt-tab.
but about the task bar i need to hide THE task bar and not to hide from the taskbar.
and please say me where i need to put this text?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 2

Author Comment

by:saar071697
ID: 1357428
sorry about my english,
i am an isralian
0
 
LVL 10

Expert Comment

by:viktornet
ID: 1357429
private
hTaskBar: HWND;
---------------------
Hello Saar. Don't worry about the langiage...There are many other people who don't speak English good, including me  :)   Here is an answer to your last question>>>
Enter this in the form's OnCreate Event Handler:
hTaskBar := FindWindow('Shell_TrayWnd', nil);//Finds the taskbar
---------------------
Enter this in the form's OnDestroy Event Handler:
ShowWindow(hTaskBar, SW_SHOW);//shows the taskbar
---------------------
Enter this in the event where you want to hide the taskbar:Example: in button's OnClick..Got IT?
ShowWindow(hTaskBar, SW_HIDE);//hides the taskbar
0
 
LVL 2

Author Comment

by:saar071697
ID: 1357430
Good Answer but please answer it after i will ask boris how can
i enable again the buttons?
0
 
LVL 10

Accepted Solution

by:
viktornet earned 300 total points
ID: 1357431
Hello saar,
Actually I got an answer for you. Here it is...
----------------------------
Add in pablic section
  var Dummy: integer;
------------------------------
Add in form's OnCreate()
SystemParametersInfo(97, Word(True), @Dummy, 0);//Disables CTRL+ALT+DEL&ALT+TAB                                                                                             //& CTRL+ESC
--------------------------------
Add in Form's OnDestroy()
SystemParametersInfo(97, Word(False), @Dummy, 0);//Enables CTRL+ALT+DEL&ALT+TAB                                                                                               //& CTRL+ESC

That's all you need, and the answer for the TaskBar you saw before... C'Ya

Viktor Ivanov

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question