23 #define FILETYPELIST_INDEX_MICROSTION_SMALL 0
24 #define FILETYPELIST_INDEX_MICROSTION_MEDIUM 1
25 #define FILETYPELIST_INDEX_MICROSTION_LARGE 2
26 #define FILETYPELIST_INDEX_MICROSTION_V7_SMALL 3
27 #define FILETYPELIST_INDEX_MICROSTION_V7_MEDIUM 4
28 #define FILETYPELIST_INDEX_MICROSTION_V7_LARGE 5
29 #define FILETYPELIST_INDEX_MICROSTION_DWG_SMALL 6 // includes DXF
30 #define FILETYPELIST_INDEX_MICROSTION_DWG_MEDIUM 7 // includes DXF
31 #define FILETYPELIST_INDEX_MICROSTION_DWG_LARGE 8 // includes DXF
32 #define FILETYPELIST_INDEX_MICROSTION_UNKNOWN_SMALL 9
33 #define FILETYPELIST_INDEX_MICROSTION_UNKNOWN_MEDIUM 10
34 #define FILETYPELIST_INDEX_MICROSTION_UNKNOWN_LARGE 11
35 #define FILETYPELIST_INDEX_MICROSTION_PROTECTED_SMALL 12
36 #define FILETYPELIST_INDEX_MICROSTION_PROTECTED_MEDIUM 13
37 #define FILETYPELIST_INDEX_MICROSTION_PROTECTED_LARGE 14
38 #define FILETYPELIST_INDEX_MICROSTION_SIGNED_SMALL 15
39 #define FILETYPELIST_INDEX_MICROSTION_SIGNED_MEDIUM 16
40 #define FILETYPELIST_INDEX_MICROSTION_SIGNED_LARGE 17
41 #define FILETYPELIST_INDEX_MICROSTION_2D_SMALL 18 // MicroStation design files only
42 #define FILETYPELIST_INDEX_MICROSTION_2D_MEDIUM 19 // MicroStation design files only
43 #define FILETYPELIST_INDEX_MICROSTION_2D_LARGE 20 // MicroStation design files only
50 #define FILELIST_VOLUMEMAGIC 0x00535653
57 #define FILELISTTYPE_UPDATE 1
58 #define FILELISTTYPE_SETFILENAME 2
59 #define FILELISTTYPE_SETFILTER 3
60 #define FILELISTTYPE_CLEARFILENAME 4
61 #define FILELISTTYPE_SETDIRECTORY 5
63 #define FILELISTDATA_DRIVES 1
64 #define FILELISTDATA_DIRECTORIES 2
65 #define FILELISTDATA_FILES 3
72 #define FILELISTATTR_SORT 0x00000001
73 #define FILELISTATTR_UNIQUE 0x00000002
74 #define FILELISTATTR_CASESENSITIVE 0x00000004
75 #define FILELISTATTR_MULTIPLE 0x00000008
76 #define FILELISTATTR_CANSELECTEXISTING 0x00000010
77 #define FILELISTATTR_CANSELECTNEW 0x00000020
79 #define FILELISTATTR_DRIVES 0x00000040
80 #define FILELISTATTR_DIRECTORIES 0x00000080
81 #define FILELISTATTR_FILES 0x00000100
91 #define FILELISTATTR_REPLACEDIRDOTS 0x00000200
99 #define FILELISTATTR_NODRIVEBRACKETS 0x00000400
107 #define FILELISTATTR_NOPARENTDIR 0x00000800
118 #define FILELISTATTR_ALERTONCREATEEXIST 0x00001000
125 #define FILELISTATTR_SEEDFILESPECIFIED 0x00002000
133 #define FILELISTATTR_SORTVOLUMESFIRST 0x00004000
141 #define FILELISTATTR_SUBDIRSCHECKBOX 0x00008000
149 #define FILELISTATTR_NORMALV8FILES 0x00010000
156 #define FILELISTATTR_SHAREDV8FILES 0x00010000
163 #define FILELISTATTR_DONTUSEWINOPEN 0x00020000
171 #define FILELISTATTR_DONTDEFAULTTODEFFILE 0x00040000
178 #define FILELISTATTR_ALWAYSUSEWINOPEN 0x00080000
186 #define FILELISTATTR_OPEN FILELISTATTR_CANSELECTEXISTING
188 #define FILELISTATTR_CREATE (FILELISTATTR_CANSELECTNEW | \
189 FILELISTATTR_ALERTONCREATEEXIST)
191 #define FILELISTATTR_CREATEFROMSEED (FILELISTATTR_CREATE | \
192 FILELISTATTR_SEEDFILESPECIFIED)
194 #define FILELISTATTR_OPENCREATE (FILELISTATTR_CANSELECTEXISTING | \
195 FILELISTATTR_CANSELECTNEW | \
196 FILELISTATTR_ALERTONCREATEEXIST)
198 #define FILELISTATTR_DEFAULT (FILELISTATTR_SORT | \
199 FILELISTATTR_UNIQUE | \
200 FILELISTATTR_MULTIPLE | \
201 FILELISTATTR_OPEN | \
216 #define FILEOPENEXTATTR_CENTERONSCREEN 0x00000001
217 #define FILEOPENEXTATTR_DONTDEFAULTTODEFFILE 0x00000002
RscId defSeedFileId
see defSeedFileNameP
Definition: filelist.h:319
UInt32 preIncludeCADFileOpenFilters
Definition: filelist.h:347
WChar dialogTitle[2 *MAXFILELENGTH]
Definition: filelist.h:382
wchar_t * WCharP
Definition: Bentley.h:225
wchar_t WChar
Definition: Bentley.h:223
FileOpenParams * fileOpenParamsP
Definition: filelist.h:389
int lastAction
Definition: filelist.h:206
Definition: DgnPlatform.h:608
WChar lastDirectory[MAXFILELENGTH]
Definition: filelist.h:207
struct FileOpenParams::@221 filterFlags
unused; should be set to zero
wchar_t const * WCharCP
Definition: Bentley.h:224
WCharCP workSetNameP
WorkSet for which file and Directory history should be shown.
Definition: filelist.h:358
WCharP defSeedFileNameP
defSeedFileNameP, defSeedDirP, defSeedFilterP and defSeedFileId are identical to suggestedFileNameP, defaultDirP, defaultFilterP and defFileId except that these are used for the seed file Dialog Box.
Definition: filelist.h:310
WCharCP defaultDirP
The directory where the selection process starts.
Definition: filelist.h:276
int winOpenReturnCode
Definition: filelist.h:351
uint32_t UInt32
Definition: Bentley.r.h:128
WCharCP suggestedFileNameP
File name that will be suggested to the user when the Dialog Box is first opened. ...
Definition: filelist.h:257
RscFileHandle defFileRscH
User preference resource file opened by the calling application.
Definition: filelist.h:299
UInt32 postIncludeCADFileOpenFilters
Definition: filelist.h:348
RscId filterStringListId
Id of String list containing file filters and descriptions.
Definition: filelist.h:341
WChar defaultDir[2 *MAXFILELENGTH]
Definition: filelist.h:385
WCharCP defaultFilterP
The filter to use for determining which files to include in the file list.
Definition: filelist.h:263
UInt32 unused
Definition: filelist.h:349
Definition: DgnPlatform.h:612
struct DgnPlatform::DgnFileSupplyRights * DgnFileSupplyRightsP
Definition: DgnPlatform.h:208
Definition: filelist.h:380
DgnFileSupplyRightsP reloadContext
mdlDialog_fileOpenExt will set this to a load context that can be used for future access to the file ...
Definition: filelist.h:338
RscId defFileId
Identifies a resource in the user preference file specified by defFileRscH.
Definition: filelist.h:293
long attributes
Definition: filelist.h:386
Structure used by mdlDialog_fileOpenExt.
Definition: filelist.h:230
UInt32 requiredRights
Specifies the rights that the user must have to allow the application to process the file...
Definition: filelist.h:332
WCharCP filterInfoStrP
String which describes defaultFilterP, specify NULL for the default description.
Definition: filelist.h:269
WCharCP titleP
The title of the Dialog Box.
Definition: filelist.h:283
WCharCP futureUseCharP[4]
unused; should be set to zero
Definition: filelist.h:355
RscId dialogId
ID of a Dialog Box in the resource file specified by dialogRscH.
Definition: filelist.h:239
WChar listLabel[2 *MAXFILELENGTH]
Definition: filelist.h:383
RscFileHandle dialogRscH
Resource file from which to load a user-specified Dialog Box.
Definition: filelist.h:234
RscId dialogId
Definition: filelist.h:388
WCharCP dirCfgVarP
The name of a MicroStation configuration variable which is used to populate the contents of the "Dire...
Definition: filelist.h:280
WCharCP workSpaceNameP
WorkSpace for which file and Directory history should be shown.
Definition: filelist.h:361
RscFileHandle filterStringHandle
Definition: filelist.h:342
WCharCP defSeedFilterP
see defSeedFileNameP
Definition: filelist.h:316
StringListP strListP
Definition: filelist.h:387
int openCreate
Controls the attributes of the Dialog Box.
Definition: filelist.h:252
int32_t RscId
Definition: ecimagekey.h:16
Definition: filelist.h:204
int futureUse
Definition: filelist.h:352
WChar defaultFilter[2 *MAXFILELENGTH]
Definition: filelist.h:384
MdlDesc * dialogOwnerMD
Unused, pass NULL.
Definition: filelist.h:302
WCharCP defSeedDirP
see defSeedFileNameP
Definition: filelist.h:313
WChar lastFilter[MAXEXTENSIONLENGTH]
Definition: filelist.h:208
Definition: DgnPlatform.h:611
struct Bentley::StringList * StringListP
Definition: msstrlst.h:13