MONITOROFF

version 1.0.0 2016/09/06

Overview

MONITOROFF is tool to turn off monitor's power. Click to monitor is going into power saving mode.

Programming langage

Visual Basic .NET

System requirements

.NET Framework 4.6 later

About project

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.

License

Simplified BSD License (BSD).

Author

leiqunni@gmail.com
@leiqunni

Contact

https://monitoroff.codeplex.com/