DirectX Game dev

Moderators: None (Apply to moderate this forum)
Number of threads: 86
Number of posts: 203

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
DirectX9 2DGame - Fullscreen/Window switching problem Posted by eldhosepmathew on 26 Jul 2007 at 10:23 PM
Hi,

I am facing a problem with switching my DirectX9 2D game from Fullscreen to Windowed mode. By switching my app is changed to windowed mode but my desktop resolution won't change. That causes my window to display in fullscreen itself.

Finaly I guess, I can solve this issue by adjusting the desktop resolution without destroying the window. How can I solve this?

Any suggestion is really appreciable,

Thanks in advance

Eldhose Mathew
Report
Re: DirectX9 2DGame - Fullscreen/Window switching problem Posted by soflot on 5 Aug 2007 at 1:12 AM
I may be wrong, but try to use "SetCooperativeLevel" and "SetDisplayMode" functions.
Report
Re: DirectX9 2DGame - Fullscreen/Window switching problem Posted by eldhosepmathew on 6 Aug 2007 at 6:36 AM
Thanks a lot!!
let me try that also..

Report
Re: DirectX9 2DGame - Fullscreen/Window switching problem Posted by massetta on 10 Jan 2009 at 5:28 AM
Custom software and games development in Ukraine.

www.xitexsoftware.com




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.