Archived

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

Why cant I use fullscreen with the common files?

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

Hello everyone. I was just wondering if it was possible to make an application derived from the CD3DApplication class (in the common files) full screen. There is a variable "m_bWindowed", but when I set that to false, it doesnt do anything. Any ideas? Thanks

Share this post


Link to post
Share on other sites
if you want the app to be fullscreen at startup, you have to write your own YourApp::Create(), or modify CD3DApplication::Create(), since it creates a window without checking the m_bWindowed.
if you want dullscreen in runtime, then just call CD3DApplication::ToggleFullScreen().

Share this post


Link to post
Share on other sites
Hmmm...in what function should I call it in? Whenever I do it in any function other than render, It crashes and the dubugger gives "Unhandled exception in 0x0000C." When I call it in the render function, it minimizes, fullscreen, minimizes, fullscreen.....over and over and over....Any ideas? Thanks

Share this post


Link to post
Share on other sites