f1402849
dmayerich
renewed commit
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
1) Make sure to not use Unicode characters. Using the Unicode character set does some
strange stuff involving LPWSTR and LPWCHAR.
2) Make sure an empty string is passed:
char filename[255] = "";
rtsOpenFileDialog(filename, 255);
*/
#pragma comment( lib, "comctl32" )
#include <windows.h>
#include <commctrl.h>
#include <commdlg.h>
#include <Shlobj.h>
bool rtsOpenFileDialog( char *filename, int filenameSize, const char *filetypes);
bool rtsSaveFileDialog( char *filename, int filenameSize, const char *filetypes);
bool rts_winBrowseFolderDialog( char* title, char* foldername);
|