Why isn't Direct X content for SharpDX displayed when using the Maximized Window mode?

I am using SharpDx to render DX content into a WPF application. When I set the Maximize window mode to VS2010, the content is not displayed until I manually adjust the window size. If I set the Normal window mode to VS2010, it works fine. This also happens in the SharpDX WPF sample.

When using max window mode, I can manually adjust the window size, and then the contents of SharpDX will appear.

When using a normal window, I can use the maximize button, and everything works fine. This only happens when I set the window mode to Maximized inside VS2010 and try to start.

+6
source share

Source: https://habr.com/ru/post/952646/


All Articles