![]() |
|
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|