Skip to content

SetDisplayMonitor

function

Delphi
procedure SetDisplayMonitor (DisplayIndex: LongInt; Value: LongInt);
C++Builder
void __fastcall SetDisplayMonitor(System::LongInt DisplayIndex, System::LongInt Value);
C#
public void SetDisplayMonitor(int DisplayIndex, int Value);
VB.NET
Public Sub SetDisplayMonitor(DisplayIndex As Integer, Value As Integer)

Specifies the monitor used to display the video window. Value is in the 0..MonitorsCount - 1 range.

DisplayIndex must be in the 2..8 range (0..1 reserved for Display... and DualDisplay...).