Advertisement
Khalibloo

UE4 Windows Show Open File Dialog (FileDialog.h)

Jul 22nd, 2018
964
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #pragma once
  2. #include "CoreMinimal.h"
  3. #include "WindowsApplication.h"
  4. #include "Windows/WindowsSystemIncludes.h"
  5. #include "AllowWindowsPlatformTypes.h"
  6. #include <Windows.h>
  7. #include <Commdlg.h>
  8. #include <tchar.h>
  9.  
  10.  
  11. class FILEOPS_API FileDialog{
  12. public:
  13.     FileDialog(void);
  14.  
  15.     TCHAR* DefaultExtension;
  16.     TCHAR* FileName;
  17.     LPCWSTR Filter;
  18.     int FilterIndex;
  19.     int Flags;
  20.     TCHAR* InitialDir;
  21.     HWND Owner;
  22.     TCHAR* Title;
  23.  
  24.     bool ShowOpenFileDialog();
  25.     bool ShowSaveFileDialog();
  26. };
Advertisement
RAW Paste Data Copied
Advertisement