6

I am using SharpDx to render DX content to WPF application. When I set the window mode to Maximized in VS2010 the content does not show up until I manually adjust the window size. If I set the window mode to Normal in VS2010 it works fine. This happens in the SharpDX WPF sample also.

When using a maximized window mode, I can manually adjust size of window and then SharpDX content shows up.

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 run.

  • 1
    If the bug is reproduced in the sample, you should report a bug https://github.com/sharpdx/SharpDX/issues – Athari Aug 28 '13 at 12:11
  • Trying to work out exactly where the problem is before I call it a bug. It seems to be the way they are using the D3DImage differently than microsoft recommends. Microsoft tutorials don't exhibit the problem. Currently working to recode their example to Microsoft recommend surface sharing technique to see if the problem is there. – user2724780 Aug 29 '13 at 02:47
  • I have this same problem in a program I inherited using SlimDX. Did you ever find a resolution? If so, please post it. – Brandon Jan 27 '15 at 18:45
  • I encountered the same issue. My workaround was putting the WindowState in VS to Normal and directly after the Show() changing the state to Maximized again and for whatever weird reason that fixes it here. Any real solutions are very welcome though. – Geoffrey Jul 29 '15 at 15:20

0 Answers0