Unreal Engine In WPF Application Control

I’m trying to put Unreal Engine inside a window application control, which I’m doing successfully except for two things:

  1. When the container control loses focus or resizes, Unreal Engine freaks out, goes black intermittently, and resizes itself a few times before returning to normal. How do I just make it be cool and resize itself without causing a big commottion?

  2. When something else has focus and then I click inside the window, it is now resizing itself to be twice as large, so I can only see the top-left corner. But if I resize the parent container then Unreal Engine sets its resolution back to normal. How can I control its resolution so it stays at what I want it to be?

UE is of course running as a separate process and I’m grabbing its window and sticking it into my container.

Note: If it were possible for me to manually control the UE window size & resolution in the UE C++ build, I could probably do what I want to do and handle layout issues manually… Is this possible as an alternative strategy?