Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

newfiledlg.h

Go to the documentation of this file.
00001 
00020 /*
00021  * $Id: newfiledlg.h,v 1.11.2.3 2006/06/05 09:03:48 xwyan Exp $
00022  *
00023  *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, 
00024  *                     pSOS, ThreadX, NuCleus, OSE, and Win32 version 1.6.x
00025  *             Copyright (C) 2002-2006 Feynman Software.
00026  *             Copyright (C) 1998-2002 Wei Yongming.
00027  */
00028 
00029 #ifndef _MGUI_NEWFILEDLG_H
00030 #define _MGUI_NEWFILEDLG_H
00031 #ifndef WIN32
00032 #include <sys/types.h>
00033 #include <dirent.h>
00034 #endif
00035 #ifdef __cplusplus
00036 extern "C" {
00037 #endif  /* __cplusplus */
00038 
00053 #define FILE_ERROR_OK           0
00054 
00059 #define FILE_ERROR_PARAMERR     -1
00060 
00065 #define FILE_ERROR_PATHNOTEXIST -2
00066 
00071 #define MAX_FILTER_LEN          255
00072 
00077 #define MY_NAMEMAX      127
00078 
00083 #define MY_PATHMAX      255
00084 
00088 typedef struct _NEWFILEDLGDATA
00089 {
00091     BOOL    IsSave;
00093     char    filefullname[MY_NAMEMAX + MY_PATHMAX + 1];
00095     char    filename[MY_NAMEMAX + 1];
00097     char    filepath[MY_PATHMAX + 1];
00102     char    filter[MAX_FILTER_LEN + 1];
00104     int     filterindex;
00105 } NEWFILEDLGDATA;
00107 typedef NEWFILEDLGDATA* PNEWFILEDLGDATA;
00108 
00129 MGEXT_EXPORT int ShowOpenDialog (HWND hWnd, int lx, int ty, 
00130                 int w, int h, PNEWFILEDLGDATA pnfdd);
00131 
00136 #ifdef __cplusplus
00137 }
00138 #endif  /* __cplusplus */
00139 
00140 #endif /* _MGUI_NEWFILEDLG_H */
00141 
00142 

Generated on Mon Jun 26 13:54:27 2006 for MiniGUI V1.6.9 API Reference by  doxygen 1.4.2