Checks if the specified monitor exists and optionally retrieves the bounding coordinates of its working area.
IsExisting := MonitorGetWorkArea(N, Left, Top, Right, Bottom)
The monitor number, between 1 and the number returned by MonitorGetCount. If omitted, the primary monitor is used.
The output variables in which to store the bounding coordinates of the working area, in pixels.
This function returns the monitor number (the same as N unless N was omitted).
On failure, an exception is thrown and the output variables are not modified.
The working area of a monitor excludes the area occupied by the taskbar and other registered desktop toolbars.
MonitorGet, SysGet, Monitor functions
See example #1 on the Monitor Functions page for a demonstration of this function.