Returns the total number of monitors.
Count := MonitorGetCount()
This function has no parameters.
This function returns the total number of monitors.
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.
SysGet, Monitor functions
See example #1 on the Monitor Functions page for a demonstration of this function.