FGenericPlatformApplicationMisc::GetWindowTitleMatchingText

Searches for a window that matches the window name or the title starts with a particular text.

Windows
MacOS
Linux

References

Module

ApplicationCore

Header

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

Include

#include "GenericPlatform/GenericPlatformApplicationMisc.h"

Syntax

static bool GetWindowTitleMatchingText
(
    const TCHAR * TitleStartsWith,
    FString & OutTitle
)

Remarks

Searches for a window that matches the window name or the title starts with a particular text. When found, it returns the title text for that window

Returns

whether the window was found and the text copied or not

Parameters

Parameter

Description

TitleStartsWith

an alternative search method that knows part of the title text

OutTitle

the string the data is copied into

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