Original Post
I'm working on a DirectDraw side-scrolling game in my spare time and I'm having a weird issue running in a window. I have my engine setup to read the fullscreen option from a config file and then several parts of the game have a conditional statement to see what the user chose. Fullscreen works great but windowed mode is working rather oddly. Whenever the user selects windowed mode, the engine does something like this: Creates an 800x600 overlapped window Sets cooperation to normal Creates a primary surface Creates an 800x600 clipper Creates an 800x600 off screen surface After rendering to the off screen surface it blits to the primary It renders fine but the problem is that it doesn't scale down to fit in that window. It acts like the window is just a "view hole" to a fullscreen image. So to see the bottom left of the screen you have to drag the window to the bottom left of your desktop.