Skip to content

MonitorsCount

function

Delphi
function MonitorsCount: LongInt;
C++Builder
System::LongInt __fastcall MonitorsCount();
C#
public int MonitorsCount();
VB.NET
Public Function MonitorsCount() As Integer
C++/Qt
int MonitorsCount ();

Returns the number of monitors available on the current platform. Useful on platforms that have more than one video screen. See the Dual display chapter for more information.