You can use EnumDisplayDevices to figure out what displays you have available and EnumDisplaySettings to get a list of available resolutions for your displays. Use ChangeDisplaySettings to set the resolution you need.
Related Contents:
- Generating a unique machine id
- How to use DoEvents() without being “evil”?
- Prevent windows from going into sleep when my program is running?
- Show touch keyboard (TabTip.exe) in Windows 10 Anniversary edition
- Is an atomic file rename (with overwrite) possible on Windows?
- How to smooth ugly jitter/flicker/jumping when resizing windows, especially dragging left/top border (Win 7-10; bg, bitblt and DWM)?
- How to detect true Windows version?
- Where can I find my .emacs file for Emacs running on Windows?
- Is there any way to detect the monitor state in Windows (on or off)?
- Good or evil – SetParent() win32 API between different processes
- What exactly are DLL files, and how do they work?
- Windows Visual Themes: Gallery of Parts and States?
- Which Font is the default for MFC Dialog Controls?
- Privileges/owner issue when writing in C:\ProgramData\
- Why does CreateProcess give error 193 (%1 is not a valid Win32 app)
- How can I get a list of all open named pipes in Windows?
- What is the smallest possible Windows (PE) executable?
- How can we check if a file Exists or not using Win32 program?
- Get information about disk drives result on windows7 – 32 bit system
- Enumerating threads in Windows
- How can I invalidate the file system cache?
- Win32: How to validate credentials against Active Directory?
- How to identify Windows 10 background store processes that have non-displayed windows that are programmatically visible and minimizable?
- windows – How to enumerate all connected USB devices’ device path?
- Windows CDROM Eject
- Determine Intel HD Graphics Card Version Via WinAPI
- What is the range of a Windows HANDLE on a 64 bits application?
- How to make win32 console recognize ANSI/VT100 escape sequences?
- How can I auto-elevate my batch file, so that it requests from UAC administrator rights if required?
- Is there a /dev/null on Windows?
- Signing a Windows EXE file
- Using a custom Tee command for .bat file
- Batch script: how to check for admin rights
- Which icon sizes should my Windows application’s icon include?
- windows batch SET inside IF not working
- How do I echo and send console output to a file in a bat script?
- Systrace for Windows
- Compiling assembly in Visual Studio
- Git on Windows, “Out of memory – malloc failed”
- Windows PowerShell: changing the command prompt
- Permission denied when trying to import a CSV file from PGAdmin
- How to run a command in the background on Windows?
- ‘node’ is not recognized as an internal or external command
- Permission denied (publickey) when setting up Jenkins
- How to create a self-signed certificate for a domain name for development on Windows 10 and below?
- The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions are: rw-rw-rw- (on Windows)
- How to automatically update an application installed with Inno Setup
- Split %date% in a batch file regardless of Regional Settings
- What is after Internet Explorer 11 on Windows 7? How well will ES2016 be supported in enterprises?
- Updating every profile’s registry on Windows Server 2003