I had the same problem, the solution I found is to move the mouse :
mouse_event(MOUSEEVENTF_MOVE, 0, 1, 0, NULL);
Sleep(40);
mouse_event(MOUSEEVENTF_MOVE, 0, -1, 0, NULL);
It will wake the monitor on.
Earlypearl
More Related Contents:
- The request was aborted: Could not create SSL/TLS secure channel
- Using SetWindowPos with multiple monitors
- How to pass values (parameters) between XAML pages?
- Allowing Untrusted SSL Certificates with HttpClient
- How do I access a control inside a XAML DataTemplate?
- How to get the size of the current screen in WPF?
- Progress bar with HttpClient
- How to parse JSON without JSON.NET library?
- How can a Metro app in Windows 8 communicate with a backend desktop app on the same machine?
- ZipArchive creates invalid ZIP file
- C#: Get complete desktop size?
- Draw on the screen without a form
- IApplicationActivationManager::ActivateApplication in C#?
- How to add HTTP Header to SOAP Client
- How to download/upload files from/to SharePoint 2013 using CSOM?
- Launching a Desktop Application with a Metro-style app
- How to check if file exists in a Windows Store App?
- How to access a Control inside the data template in C# Metro UI in the code behind
- How to resize Image in C# WinRT/winmd?
- Screen Resolution Problem In WPF?
- Is there a way to convert a System.IO.Stream to a Windows.Storage.Streams.IRandomAccessStream?
- How do I center a window on the screen in C# & WinForms?
- how to calculate the textbock height and width in on load if i create textblock from code?
- How do I convert string to Indian Money format?
- Show app name on Tile update
- Is the List.ForEach() method gone?
- How to deploy a Metro App to the Desktop?
- HttpClient Request like browser
- “Could not load file or assembly System.Drawing or one of its dependencies” error on .Net 2.0, VS2010 and Windows 8
- How write a file using StreamWriter in Windows 8?