Originally posted by Nick
Sorry I didn't mean just fullscreen. The gdi doesn't
have the capability to set into whatever video mode
you want.
Actually it does.
Code:
LONG ChangeDisplaySettings(
LPDEVMODE lpDevMode, // graphics mode
DWORD dwflags // graphics mode options
);
LONG ChangeDisplaySettingsEx(
LPCTSTR lpszDeviceName, // name of display device
LPDEVMODE lpDevMode, // graphics mode
HWND hwnd, // not used; must be NULL
DWORD dwflags, // graphics mode options
LPVOID lParam // video parameters (or NULL)
);