ddraw and windowed mode
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?
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
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
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.
Kwanji - a game developer in Japan.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement