Page 1 of 1

D3D9 returngin from FullScreen and Windows Composition

Posted: Sat Jan 10, 2015 5:58 am
by Anes
I come here becouse i posted this question/issue in GameDev and DirectX XNA official forums and nobody replies.

what i asked was:

Code: Select all

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.
Any idea??