• Advertisement

Archived

This topic is now archived and is closed to further replies.

Repose: how to set up a game program to run in a windowed mode?

This topic is 5309 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am new to game programming. Actually I looked through all the relevant posts about windowed mode but I didn''t find any post which really talked about how to set up a game program to run in a windowed mode. By the way, I am using Direct X to program the game, no MFC, no OpenGL, no GDI. Please help me! Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
What is d3dpp? Is it from Direct3D? I am not using Direct3D now but is using just DirectDraw.

Share this post


Link to post
Share on other sites
Why would you be using DirectX7?

In any event, I gave you a link to the documentation. You could easily look it up for yourself. If you /had/ taken the link I provided, you would have seen that d3dpp is:

D3DPRESENT_PARAMETERS d3dpp;

Look in your DirectX7 documentation for something equivalent. It has a tutorial in it.

Share this post


Link to post
Share on other sites

  • Advertisement