Hi there, I was wondering if someone might know how to do this.
I'm making a game with SFML as the rendering screen and using WPF as the overlayed GUI. I know how to set up an SFML RenderWindow inside a Windows Form Control by passing it a Handle for the form, but I'm not sure how to do the same in WPF. I tried using a WindowsFormHost to host a WindowsForm Control (that holds the render window) inside WPF, but the problem is that a WindowsFormHost control always seems to be drawn as the top layer, meaning my WPF controls are hidden behind the render window. Theres some hacky ways to get around this, but if it's possible, I'd really like to be able to host a SFML render window directly inside of a WPF control instead of having to use a WindowsFormHost control. Does anyone know how to do this?
Thanks.