Hi ,
More discoveries as I continue to test with it, and I understand a little bit of what’s going on. I noticed that the region that the mouse is functional is fixed in absolute screen space. The red rectangle in the image below shows the exact region where the mouse functions correctly, which I determined just by experimenting moving the mouse around and clicking on the scene.
This red rectangle is positioned in screen coordinates at the location that the UE window is supposed to be positioned in relative coordinates, inside my program. Whenever my program resizes, I am doing two things: Moving the window position using the MoveWindow windows API function:
And sending an inter-process message to the UE instance to tell it to set its resolution to the container control’s size. All of this works perfectly as far as the view is concerned, when I move the program around or resize it, the UE window resizes and moves to exactly to where it is supposed to be. The mouse just doesn’t work properly…
