Xbox LIVE Indie Games
Sort Discussions: Previous Discussion Next Discussion
Page 1 of 1 (3 posts)

D3d9 returning from FullScreen and Window Composition

Last post 1/11/2015 12:48 PM by Ateneo. 2 replies.
  • 1/9/2015 12:50 PM

    D3d9 returning from FullScreen and Window Composition

    Hi i wanted to add "full screen" capabilities to my app. Well i did it with the "DX9Device::Reset()" method and all is ok, but when i go back to windowed mode the window loses its composition.

    I don't change any properties of the window with SetWindowLongPtr(), indeed i don't use it to go full screen. I just change the window size and position to the desktop resolution.

     

    Im deving in windows 8.1 and i tested it too in Windows 7 and the same thing.

     

    Any way to work around this??

     

    Thxs in advance.

  • 1/9/2015 6:53 PM In reply to

    Re: D3d9 returning from FullScreen and Window Composition

    This is likely the appcompat behavior that is trigger the DWM composition disable.

    Have you tried using some of the legacy DirectX SDK Direct3D 9 samples in full-screen mode to see if has the same problem?
  • 1/11/2015 12:48 PM In reply to

    Re: D3d9 returning from FullScreen and Window Composition

    I took a look at the examples and fixed my problem. Thanks!!
Page 1 of 1 (3 posts) Previous Discussion Next Discussion