MonitorG.isValid

Returns true if the monitor object corresponds to a physical monitor.

The monitor becomes invalid when the physical monitor is unplugged or removed.

class MonitorG
bool
isValid
()

Return Value

Type: bool

true if the object corresponds to a physical monitor