Jump to content
  • Advertisement

Archived

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

igorx

How to close fullscreen D3D window?

This topic is 5964 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

Hi! How to close fullscreen D3D window? This window was created like in tutorial: d3dpp.Windowed = FALSE; D3D->CreateDevice( D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, hWnd, D3DCREATE_SOFTWARE_VERTEXPROCESSING,&d3dpp, &DeviceOne ) [render to that window] After that i destroy window hWnd (DestoyWindow) and delete all D3D objects: if( DeviceOne != NULL ) DeviceOne->Release(); // release d3d if( D3D != NULL ) D3D->Release(); If a program finished after that - it is ok, but if program continue working (open new window etc. ) - screen is stay in fullscreen mode How i can turn screen in windowed mode back? Please help me!

Share this post


Link to post
Share on other sites
Advertisement
what do you mean? say if you set the mode to 640*480 in your app you wrote, it stays in 640*480? or what?

it almost sounds like it's bombing out. like when you are exiting that you do something windows or directx doesn't like and bombs out before it can release the d3d stuff

[edited by - shmalbus on April 19, 2002 10:10:27 AM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!