title: Problems with PrimaryScreen.Size
body: <p>I've been fine with <code>Screen.PrimaryScreen.Bounds.Size</code> for some time, but on my Windows7 computer attached to my big-screen TV it is giving me incorrect values.</p>
  
  <p>I read elsewhere to try <code>SystemInformation.PrimaryMonitorSize</code> but that gives the same values.</p>
  
  <p>When I right click the desktop to get Screen Resolution, it says <code>1920x1080</code>.  The above two are giving me <code>1280x720</code>.</p>
  
  <p>I've also tried the WPF versions:</p>
  
  <pre><code>var w = System.Windows.SystemParameters.PrimaryScreenWidth;
  var h = System.Windows.SystemParameters.PrimaryScreenHeight;
  MessageBox.Show(new Size((int)w, (int)h).ToString());
  </code></pre>
  
  <p>The display size has been changed via the (right click the desktop) <code>Personalize &gt; Desktop</code> options to be 150% (since the screen is 60" and you sit kind of far away).</p>
  
  <p>How to detect this so the value's returned from the above can be adjusted?</p>
  
  <p><strong>Note</strong>: I've discovered how to get around this with a right-click executable and adjust the compatability to disable DPI virtualization, but I still need a programatic solution so I don't have to have user's adjust this themselves: See - <a href="http://msdn.microsoft.com/en-us/library/dd464660(VS.85).aspx#dpi_virtualization">http://msdn.microsoft.com/en-us/library/dd464660(VS.85).aspx#dpi_virtualization</a></p>