title: How to turn off the display of a Win8 tablet
body: <p>Is there a way to turn off the display of a Win8 Tablet without putting the tablet in sleep mode?</p>
  
  <p>I use following C++ code, but this code puts the tablet in sleep mode:</p>
  
  <pre><code>const LPARAM OFF = 2;
  // const LPARAM LOW = 1;
  const LPARAM ON = -1;
  LPARAM state = 0;
  
  if (monitorOn) state = ON;    // set monitor on
  else state = OFF;             // set monitor off
  
  SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, state);
  </code></pre>
  
  <p>We need to create a new VNC connection while the display is off. But we can't do that while the Tablet is in sleeping mode. Also the monitor on functionality (see code above) doesn't work in sleeping mode...</p>
  
  <p>Anybody knows how I can only turn off the display of a Win8 Tablet?</p>