UEAsLibrary mouse input not working as app is never active


I am currently developing an app that needs to be embedded in another Windows and I have resorted to using UEAsLibrary.

Everything is working fine in both Win32 and Qt app but we found out that mouse input does not work at all.

By reading the code I found that mouse input is not handled if bAppIsActive is set to false.

The problem is that in the case of UEAsLibrary is always false and by the comment on the source code it seems that it should be like that.

// If we are embedded inside another app then we never need to be "active" bAppIsActive = !GUELibraryOverrideSettings.bIsEmbedded;

Is this correct or is it something I miss?

By commenting the incrimitated line everything is working

1 Like