00001
00002
00003
00004 #ifndef MNCOMMONDLG_H
00005 #define MNCOMMONDLG_H
00006
00007 #include "MNComponent.h"
00008
00013 #define MAX_PATH 260
00014
00019 extern LPSTR ShowOpenFileDlg( MNComponent *parent, LPSTR default_dir = NULL,
00020 LPSTR filter = NULL, DWORD deffilter_index = 0,
00021 DWORD flags = 0 );
00022
00027 extern LPSTR ShowSaveFileDlg( MNComponent *parent, LPSTR default_dir = NULL,
00028 LPSTR filter = NULL, DWORD deffilter_index = 0,
00029 DWORD flags = 0 );
00030
00034 extern void ShowErrorDlg( MNComponent *parent, LPSTR text, LPSTR caption = NULL,
00035 DWORD style = MB_OK | MB_ICONERROR );
00036
00040 extern int MessageBox( MNComponent *parent, LPSTR text, LPSTR caption = NULL,
00041 DWORD style = MB_OK );
00042 #endif