By "outside" I mean a window outside the borders of the engine window if the engine window is not fullscreen.

But using API with CreateWindowEx looks pretty complicated for what seems to me a small problem. Thanks anyway