Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>To expand on Raymond's comment:</p> <p>The Visual Effects tab has fifteen individual performance options. The radio button "Adjust for best appearance" turns them all on. "Adjust for best performance" turns them all off. "Let Windows choose what's best for my computer" presumably sets them based on the Windows Experience index, or some similar method.</p> <p>You aren't going to be able to implement "Let Windows choose what's best for my computer" from an application, or at least not easily. But you should be able to implement the other two options, by using <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms724947%28v=vs.85%29.aspx" rel="nofollow">SystemParametersInfo</a> and setting each of the fifteen individual options. </p> <p>You'll need to identify the fifteen settings corresponding to the options in the Visual Effects tab: some will be reasonably obvious, others may be a matter of trial and error. Hopefully if you set the radio button to "Custom", when you open the Visual Effects tab you'll see the changes your application has made, so you'll be able to tell whether you've go the right setting or not.</p> <p>You might want to set the registry value for the radio button as well so that the user sees the right thing if they open the control panel.</p> <p><em><strong>Addendum:</em></strong> for the scenario you describe, you'll probably want to read each of the current settings first and restore them afterwards. Either read and restore the registry setting too, or just don't touch it.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload