MonitorGetCount

Returns the total number of monitors.

Count := MonitorGetCount()

Parameters

This function has no parameters.

Return Value

Type: Integer

This function returns the total number of monitors.

Remarks

Unlike the SM_CMONITORS system property retrieved via SysGet(80), the return value includes all monitors, even those not being used as part of the desktop.

Related

SysGet, Monitor functions

Examples

See example #1 on the Monitor Functions page for a demonstration of this function.