Download

Windows window styles and why they don't work

Hello everyone,

I was wondering why in the core files in WindowsWindow.cpp if I change the WindowExStyle to have WS_EX_TRANSPARENT it does nothing? Normally this setting would allow mouse events to pass through the program completely and interact with programs lower in the Z-order but for the UE4 editor and the in game view it does nothing. I’ve been looking at slate and the hittestgrid stuff but I’m unsure if this is even where I should be looking.

Does anyone have any insight into this?

Thank you.

Figured it out. The entire thing UI seems to be handled by slate which uses SWindows in SWindow.cpp. Just change that and input is ignored.