It is necessary to do something like this so that the form does not block the entire screen.
To define a workspace (without a system taskbar) in
Windows there is a property
SPI_GETWORKAREA , whose value can be obtained via a call to
Retrieves the size of the primary display monitor. The taskbar is not obscured by the system taskbar or by application desktop toolbars. It is expressed in virtual screen coordinates.
In the case of the monitor, you can call the function.