/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h
Gets the active top-level window.
The top level window, or nullptr if no Slate windows are currently active.
[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [SWindow](API\Runtime\SlateCore\Widgets\SWindow) > GetActiveTopLevelWindow() const