71 |
} /* set_menu_state */ |
} /* set_menu_state */ |
72 |
|
|
73 |
|
|
74 |
|
|
75 |
/* Use the common dialog to request a file from the user. |
/* Use the common dialog to request a file from the user. |
76 |
id can be either FILE_OPEN or FILE_SAVE. |
id can be either FILE_OPEN or FILE_SAVE. |
77 |
The return value is the file name or NULL if cancel was chosen. */ |
The return value is the file name or NULL if cancel was chosen. */ |
109 |
return NULL; |
return NULL; |
110 |
} |
} |
111 |
|
|
112 |
|
const char* |
113 |
|
get_filesave_dlg (HWND hwnd, const char *title, |
114 |
|
const char *filter, const char *name) |
115 |
|
{ |
116 |
|
return get_filename_dlg (hwnd, FILE_SAVE, title, filter, name); |
117 |
|
} |
118 |
|
|
119 |
|
const char * |
120 |
|
get_fileopen_dlg (HWND hwnd, const char *title, const char *filter, |
121 |
|
const char *name) |
122 |
|
{ |
123 |
|
return get_filename_dlg (hwnd, FILE_OPEN, title, filter, name); |
124 |
|
} |
125 |
|
|
126 |
|
|
127 |
/* Use the common dialog to allow the user to select a folder. |
/* Use the common dialog to allow the user to select a folder. |
128 |
The return value is either the folder path or NULL if cancel was chosen. */ |
The return value is either the folder path or NULL if cancel was chosen. */ |
129 |
const char* |
const char* |