ddraw and windowed mode

Started by
1 comment, last by Densun 24 years ago
What''s a function that will change that size of the client area? Do I not want to use SetDisplayMode after switching into the DDSCL_NORMAL cooperative mode?
Advertisement
Hi

If you wan''t, that Direct Draw only draws into a specific Window, you need to make A Blit Operation, with the Rectangle Data of the Target Window. You should also specify a Clipper Object.
The SetDisplayMode is only neccesary if you wan''t to use Fullscreen, and if you are in Fullscreen and wan''t the normal desktop reolution, you can use the RestoreDisplayMode Function.

Lars
--------> http://www.larswolter.de <---------
If you wanna change the size or the position of your window, then, SetWindowPos(), SetWindowLong(), GetSystemMetrics() and AdjustWindowRectEx() will help you

Kwanji - a game developer in Japan.

This topic is closed to new replies.

Advertisement