Why cant I use fullscreen with the common files?
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
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().
if you want dullscreen in runtime, then just call CD3DApplication::ToggleFullScreen().
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement