DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Pascal and Delphi (http://www.daniweb.com/forums/forum124.html)
-   -   Making a Fullscreen form and hiding the Windows Taskbar (http://www.daniweb.com/forums/thread32248.html)

sbedford Sep 13th, 2005 4:59 pm
Making a Fullscreen form and hiding the Windows Taskbar
 
Hi

Just wondering if it is possible to do this? I have a form that auto-resizes dependent on the resolution of the pc it is run on, but at some resolutions, the windows taskbar overlaps the form buttons. Is there any way to hide the windows taskbar, or do I just have to resize the form and make it's height 60 pixels less or something?

Thanks
S Bedford

mrmike Sep 14th, 2005 7:50 am
Re: Making a Fullscreen form and hiding the Windows Taskbar
 
to hide taskbar

Link to hide taskbar @ dancemammal.com

regards
mrmike

sbedford Sep 14th, 2005 10:03 am
Re: Making a Fullscreen form and hiding the Windows Taskbar
 
thanks - that worked really well, - just had to put in the code to show the taskbar again, as closing the program leaves it hidden!

S Bedford

neverwinter Sep 15th, 2005 12:48 am
Re: Making a Fullscreen form and hiding the Windows Taskbar
 
I think you should also revert it back if the user switches (Alt-Tab) to another program, not just closing...

sbedford Sep 15th, 2005 10:57 am
Re: Making a Fullscreen form and hiding the Windows Taskbar
 
Ive got the form set to stay on top - the program i'm making is like an entire frontend system, and I want to hide Windows as completely as is possible, so in theory, the form should keep itself at the front.

On that note though, is there any way to disable system keys in all versions of Windows in one go? Such as alt-f4, ctrl-esc, alt-tab the winkey etc? I can only find ways to do it on win98 and 2000, but these methods only stop the keys in that particular version of Windows.

mrmike Sep 15th, 2005 11:25 am
Re: Making a Fullscreen form and hiding the Windows Taskbar
 
use the following and set the OnCloseQuery event to call it

procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
begin
application.Messagebox('Sorry you are unable to terminate this application','Close Request Received');
CanClose:=False;
end;

regards
mrmike

sbedford Sep 15th, 2005 5:50 pm
Re: Making a Fullscreen form and hiding the Windows Taskbar
 
thanks - alt f4 is no longer a problem. I made the form of type stay on top to handle the alt-tab. Now its just the windows key i need to disable to stop the start menu popping up

S Bedford

sbedford Sep 16th, 2005 11:43 am
Re: Making a Fullscreen form and hiding the Windows Taskbar
 
disabled most of the windows keys - alt tab, and the winkey in windows 98 and 2000, but does anyone know of a way to disable these keys in winxp? Preferably a way using existing delphi coding - ive only found external dll files that can do it so far

Thanks
S Bedford

raam Apr 21st, 2006 2:50 am
Re: Making a Fullscreen form and hiding the Windows Taskbar
 
Quote:

Originally Posted by sbedford
disabled most of the windows keys - alt tab, and the winkey in windows 98 and 2000, but does anyone know of a way to disable these keys in winxp? Preferably a way using existing delphi coding - ive only found external dll files that can do it so far

Thanks
S Bedford

Sir,
I a require all the above suggestions you have given for Linux operating system.Can you please help.
I want to hide the task bar of linux programmatically.I am using java.Is it possible to do it through a shell script.


All times are GMT -4. The time now is 2:33 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC