IDesktopPlatform::OpenDirectoryDialog

Opens the "choose folder" dialog for the platform

Unreal Engine C++ API Reference > Developer > DesktopPlatform > IDesktopPlatform

References

   
Module DesktopPlatform
Header /Engine/Source/Developer/DesktopPlatform/Public/IDesktopPlatform.h
Include #include "IDesktopPlatform.h"
bool OpenDirectoryDialog
(
    const void * ParentWindowHandle,
    const [FString](API\Runtime\Core\Containers\FString) & DialogTitle,
    const [FString](API\Runtime\Core\Containers\FString) & DefaultPath,
    [FString](API\Runtime\Core\Containers\FString) & OutFolderName
)

Remarks

Opens the "choose folder" dialog for the platform true if folder choice was successfully selected

Parameters

Name Description
ParentWindowHandle The native handle to the parent window for this dialog
DialogTitle The text for the title of the dialog window
DefaultPath The path where the file dialog will open initially
OutFolderName The foldername that was selected in the dialog

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library