I am using mixed mode C++/CLI in my game engine to create WPF window, in which DX is rendering.
Everything work fine except one thing - when I move or resize window, rendering freeze until mouse button will released.
I don`t know how to resolve this issue.
For now I even made a hook and attach WndProc to WPF window. I see that there are some messages in WndProc when I press mouse button and then everything hangs until mouse button will be released.
I thinks this is related with Win32 itself, but I don`t know how to hack this.
Does anyone now how to solve this issue and make DX always render even if I move or resize window?
By the wasy, In native WPF, when I resize or move window, there is no rendering issues like on attached image.
How did they do this? and how to do that in my engine???
Edited by BlackJoker, 26 December 2013 - 08:55 AM.