Advertisement

Can't do full screen. Why?

Started by June 12, 2002 02:12 AM
1 comment, last by Zeraan 22 years, 6 months ago
I want to make a 800x600x16 screen with DirectDraw, but when I set cooperation level like this: SetCooperativeLevel(hWnd, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN | DDSCL_ALLOWREBOOT) lpdd->SetDisplayMode(SCREEN_WIDTH, SCREEN_HEIGHT, 16, 0, 0) It makes a box that is 800x600 but not full screen, and is displayed on my top left 800x600. There is no warning or errors? Help would be apprecriated. EDIT: Fixed the description of problem ______________________________________________ You know your game is in trouble when your AI says, in a calm, soothing voice, "I'm afraid I can't let you do that, Dave" [edited by - Zeraan on June 12, 2002 4:27:16 AM]
Is the window fullscreen but you can still see the caption and borders and stuff?

If so, then check that you didn''t use the WS_OVERLAPPEDWINDOW (or similar) window style flag. Using the WS_POPUP flag instead will give you a window without borders etc.
Advertisement
No, I meant, the game isn't fullscreen and I wanted it to be fullscreen. And I don't have any clue why its acting this way.

EDIT: Doh I see what you meant. Sorry for my bad description.

______________________________________________
You know your game is in trouble when your AI says, in a calm, soothing voice, "I'm afraid I can't let you do that, Dave"

[edited by - Zeraan on June 12, 2002 3:31:31 AM]

This topic is closed to new replies.

Advertisement