Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 11-10-1998, 12:38 PM
N/A
Guest
 
Posts: n/a
Default Checking TaskBar

How do you find out if the Taskbar is set to autohide or not.

I need to know - to put a form at the bottom of the screen, but not exacly the bottom, I want it to be just above the taskbar.
Reply With Quote
  #2  
Old 11-29-1998, 11:43 AM
N/A
Guest
 
Posts: n/a
Default RE: Checking TaskBar

procedure YourForm.SetSize;

Var

*WorkArea : TRect;

begin

* SystemParametersInfo( SPI_GETWORKAREA, 0, @WorkArea, 0 );

* Top * *:= WorkArea.Top;

* Left * := WorkArea.Left;

* Height := WorkArea.Bottom - WorkArea.Top;

* Width *:= WorkArea.Right - WorkArea.Left;

end;



This will put your form at the right place with the right size.





Reginaldo Ap. Rigo

rarigo@yahoo.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 10:05 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.