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.
More Related Contents:
- DLLImport of the origin function in the DLL
- Generating a unique machine id
- How to detect true Windows version?
- 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)?
- Prevent windows from going into sleep when my program is running?
- Show touch keyboard (TabTip.exe) in Windows 10 Anniversary edition
- Where can I find my .emacs file for Emacs running on Windows?
- What exactly are DLL files, and how do they work?
- Windows Visual Themes: Gallery of Parts and States?
- How can we check if a file Exists or not using Win32 program?
- Which Font is the default for MFC Dialog Controls?
- Why does CreateProcess give error 193 (%1 is not a valid Win32 app)
- Enumerating threads in Windows
- How to call LogonUser() to get a non-restricted full token inside a Windows Service with UAC enabled?
- How do you programmatically resize and move windows with the Windows API?
- Win32 API analog of sending/catching SIGTERM
- How to wait for a shell process to finish before executing further code in VB6
- How can I tell if a window has focus? (Win32 API)
- How to identify Windows 10 background store processes that have non-displayed windows that are programmatically visible and minimizable?
- Win32: How to validate credentials against Active Directory?
- Windows CDROM Eject
- Path prefixes \??\ and \\?\
- How to change default sound playback device programmatically?
- Gracefully Exit Explorer (Programmatically)
- How can I programmatically refresh Windows Explorer?
- How to create a virtual printer in Windows?
- How can I detect Windows 8.1 in a Desktop application
- What is the range of a Windows HANDLE on a 64 bits application?
- What are these strange environment variables?