FGenericWindow::SetWindowFocus

Native windows should implement SetWindowFocus to let the OS know that a window has taken focus.

Windows
MacOS
Linux

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericWindow.h

Include

#include "GenericPlatform/GenericWindow.h"

Source

/Engine/Source/Runtime/ApplicationCore/Private/GenericPlatform/GenericWindow.cpp

Syntax

virtual void SetWindowFocus()

Remarks

Native windows should implement SetWindowFocus to let the OS know that a window has taken focus. Slate handles focus on a per widget basis internally but the OS still needs to know what window has focus for proper message routing

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss