#include "MNComponent.h"
Go to the source code of this file.
Defines | |
| #define | MAX_PATH 260 |
| specifies the maximum length of file path + file name + file ext. | |
Functions | |
| LPSTR | ShowOpenFileDlg (MNComponent *parent, LPSTR default_dir=NULL, LPSTR filter=NULL, DWORD deffilter_index=0, DWORD flags=0) |
| Displays an open file dialog and returns the full file name the user selected. | |
| LPSTR | ShowSaveFileDlg (MNComponent *parent, LPSTR default_dir=NULL, LPSTR filter=NULL, DWORD deffilter_index=0, DWORD flags=0) |
| Displays a save file dialog and returns the full file name the user selected. | |
| void | ShowErrorDlg (MNComponent *parent, LPSTR text, LPSTR caption=NULL, DWORD style=MB_OK|MB_ICONERROR) |
| Displays an error message box with a style of MB_OK | MB_ICONERROR. | |
| int | MessageBox (MNComponent *parent, LPSTR text, LPSTR caption=NULL, DWORD style=MB_OK) |
| Displays a general message box with a style of MB_OK. | |
|
||||||||||||||||||||
|
Displays a general message box with a style of MB_OK.
|
|
||||||||||||||||||||
|
Displays an error message box with a style of MB_OK | MB_ICONERROR.
|
|
||||||||||||||||||||||||
|
Displays an open file dialog and returns the full file name the user selected. You should specify them as follows: char *my_filter = "Sample Files\0*.TXT;*.CPP;*.H\0All Files\0*.*\0\0";
|
|
||||||||||||||||||||||||
|
Displays a save file dialog and returns the full file name the user selected. You should specify them as follows: char *my_filter = "Sample Files\0*.TXT;*.CPP;*.H\0All Files\0*.*\0\0";
|
1.2.18