gimbar
gimbar

Reputation: 135

Open the DPI settings dialog programatically?

I have an application which requires a huge display resolution. So it's my task to warn users who has a greater DPI than 96 (standard).

How do I open the Windows Dialog for DPI settings, so the user would be able to change it?

Upvotes: 0

Views: 242

Answers (1)

Alex K.
Alex K.

Reputation: 175748

Take a look at http://msdn.microsoft.com/en-us/library/windows/desktop/cc144191(v=vs.85).aspx .

Pre-vista you can directly invoke the control panel executable specifying the appropriate applet page to display, for vista & 7 you can simply execute %windir%\system32\DpiScaling.exe

Upvotes: 1

Related Questions