Enumerate Graphic Modes of Display Device
M. Gallant 11/14/2001
This signed applet for IE4+ browsers uses Microsoft
J/Direct technology
to retrieve all the graphic modes for the current display device on the current machine using the win32 API
EnumDisplaySettings() function
and the corresponding
DEVMODE win32 structure implemented in
the User32.dll library.
The current graphic settings are first displayed, followed by settings for all the graphic modes supported by the
current display device:
- Width: Pixel display width
- Height: Pixel display height
- Bits/pixel: Bit color resolution (4 bits=16 colors, 8 bits=56 colors, 16 bits=65,536 colors, 32 bits >1,000,000 colors )
- Frequency: Display refresh rate in Hz
This signed applet could be easily modified to change these display settings (similar to the win32 Display Properties | Settings applet)
using the win32 API
ChangeDisplaySettings() function.
Source Code Application version