Cicode Programming Reference > Cicode Function Categories > Window Functions Introduction > WndMonitorInfo

WndMonitorInfo

Returns information about a particular monitor.

Syntax

WndMonitorInfo(iMonitor, iType)

iMonitor:

Monitor Number 1 to n, where n is the number of monitors returned from WndInfo(80). Using 0 will return the value for the virtual screen. Using an unsupported monitor number (0 or n) will return -1 for all values.

iType:

Type The monitor measurement to be retrieved:

0 - x co-ordinate of upper left corner of monitor.

1 - y co-ordinate of upper left corner of monitor.

2 - width of monitor.

3 - height of monitor.

4 - x co-ordinate of upper left corner of monitor working area.

5 - y co-ordinate of upper left corner of monitor working area.

6 - width of monitor working area.

7 - height of monitor working area.

Return Value

Requested information about the selected monitor.

See Also

Window Functions