How to open the Windows screen mode dialog (Views: 702)
Problem/Question/Abstract: Is there a way to open the default Windows dialog for screen settings (screen resolution, colors etc.) by a Delphi application? Answer: uses ShellAPI; { ... } ShellExecute(HInstance, nil, PCHAR('rundll32.exe'), PCHAR('shell32.dll, Control_RunDLL desk.cpl, , 3') { 3 is the tab index }, NIL, 1); |