RSS Forums RSS
Please support our Pascal and Delphi advertiser: Programming Forums
Views: 14536 | Replies: 8 | Thread Tools  Display Modes
Reply
Join Date: Jul 2005
Posts: 18
Reputation: sbedford is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
sbedford sbedford is offline Offline
Newbie Poster

Making a Fullscreen form and hiding the Windows Taskbar

  #1  
Sep 13th, 2005
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2005
Posts: 41
Reputation: mrmike is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
mrmike mrmike is offline Offline
Light Poster

Re: Making a Fullscreen form and hiding the Windows Taskbar

  #2  
Sep 14th, 2005
to hide taskbar

Link to hide taskbar @ dancemammal.com

regards
mrmike
Reply With Quote  
Join Date: Jul 2005
Posts: 18
Reputation: sbedford is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
sbedford sbedford is offline Offline
Newbie Poster

Re: Making a Fullscreen form and hiding the Windows Taskbar

  #3  
Sep 14th, 2005
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
Reply With Quote  
Join Date: Aug 2005
Posts: 6
Reputation: neverwinter is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
neverwinter neverwinter is offline Offline
Newbie Poster

Re: Making a Fullscreen form and hiding the Windows Taskbar

  #4  
Sep 15th, 2005
I think you should also revert it back if the user switches (Alt-Tab) to another program, not just closing...
Reply With Quote  
Join Date: Jul 2005
Posts: 18
Reputation: sbedford is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
sbedford sbedford is offline Offline
Newbie Poster

Re: Making a Fullscreen form and hiding the Windows Taskbar

  #5  
Sep 15th, 2005
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.
Reply With Quote  
Join Date: May 2005
Posts: 41
Reputation: mrmike is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
mrmike mrmike is offline Offline
Light Poster

Re: Making a Fullscreen form and hiding the Windows Taskbar

  #6  
Sep 15th, 2005
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
Reply With Quote  
Join Date: Jul 2005
Posts: 18
Reputation: sbedford is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
sbedford sbedford is offline Offline
Newbie Poster

Re: Making a Fullscreen form and hiding the Windows Taskbar

  #7  
Sep 15th, 2005
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
Reply With Quote  
Join Date: Jul 2005
Posts: 18
Reputation: sbedford is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
sbedford sbedford is offline Offline
Newbie Poster

Re: Making a Fullscreen form and hiding the Windows Taskbar

  #8  
Sep 16th, 2005
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
Reply With Quote  
Join Date: Apr 2006
Posts: 3
Reputation: raam is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
raam raam is offline Offline
Newbie Poster

Re: Making a Fullscreen form and hiding the Windows Taskbar

  #9  
Apr 21st, 2006
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.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the Pascal and Delphi Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:37 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC