I'm now making a game editor using C# Forms and I already wrapped my c++ code to c#. I'm using Weifenluo DockContent as the external window handle to ogre. Now the problem is, if I remove the OIS thing it worked ok, but with OIS device created, after some debug issue, I find in DockContent the OIS mouse and keyboard can't be created, but in normal Form it's ok. So any solution to solve this problem? should I use OIS in DockContent?
Any idea about this topic is aprreciated!
the picture without OIS created, it works ok: