MONITOROFF is tool to turn off monitor's power. Click to monitor is going into power saving mode.
Visual Basic .NET
.NET Framework 4.6 later
This application was wrote as a study for turn off monitor.
and the code is like this.
Private Const WM_SYSCOMMAND = &H112
Private Const SC_MONITORPOWER = &HF170
Private Const MONITOR_ON = -1
Private Const MONITOR_OFF = 2
Private Const MONITOR_STANDBY = 1
Private Sub btnTurnOff_Click(sender As Object, e As EventArgs) Handles btnTurnOff.Click
PostMessage(Me.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, MONITOR_OFF)
End
End Sub
Please ask me, turn on monitor power when GPU working (etc. GPGPU),
or want to add function.Simplified BSD License (BSD).