Function 48, subfunction 6 - set screen working area.
Parameters:
- eax = 48 - function number
- ebx = 6 - subfunction number
- ecx = [left]*65536 + [right]
- edx = [top]*65536 + [bottom]
Returned value:
- function does not return value
Remarks:
- The screen working area defines position and coordinates of
a maximized window.
- This function is used only by the application '@panel',
which set working area to all screen without system panel.
- (left,top) are coordinates of the left upper corner,
(right,bottom) are coordinates of the right lower one.
Thus the size of working area on x axis can be calculated by
formula right-left+1, on y axis - by formula bottom-right+1.
- If 'left'≥'right', x-coordinate of working area is not changed.
If 'left'<0, 'left' will not be set. If 'right' is greater than or
equal to screen width, 'right' will not be set.
Similarly on y axis.
- See also function 14,
to get sizes of all screen.
- There is a pair function to get working area - subfunction 5.
- This function redraws the screen automatically,
updating coordinates and sizes of maximized windows.
The system sends to all windows redraw message (the event 1).