[Mono-winforms-list] Monitor Management
tvkswamy
tvkswamy at gmail.com
Sat Nov 14 17:58:35 UTC 2015
Hello,
In my Windows Form application, I have used
public enum MonitorState
{
MonitorStateOn = -1,
MonitorStateOff = 2,
MonitorStateStandBy = 1
}
Later in my code :
private void SetMonitorInState(MonitorState state)
{
SendMessage(0xFFFF, 0x112, 0xF170, (int)state);
}
Finally
SetMonitorInState(MonitorState.MonitorStateOff);
Using the code above I set Monitor Off. Is this feature possible in Linux
environment ??
Thanks for your valuable advice
--
View this message in context: http://mono.1490590.n4.nabble.com/Monitor-Management-tp4666975.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
More information about the Mono-winforms-list
mailing list