PDA

Click to See Complete Forum and Search --> : Changing resolution using DirectX's DirectDraw


Martijn
Aug 11th, 1999, 09:57 PM
Every document which explains me how to change the resolution of the current display has something like:
EnumDisplaySettings() and ChangeDisplaySettings()
BUT this won't work on every machine. On some Win95 machines with Matrox videocards the changing of resolution gives a 1. Which means restart. But somehow the normal windows procedure the change your display offers an "Apply without restart" option.
How the hell do they do that. They FORCE the screen to operate in that mode, without restarting??? How do they do that?

And when I want to use the IDirectDraw::SetDisplayMode() call in VBasic how do I do that. Has someone a good example of changing the display resolution in DirectX(and that works on all DirectX versions (3.0 and above at least!))

muchos gracias

Tnx

Martijn

------------------
Yepz.. that was one hell of a question from Psy