GEOS SDK TechDocs
|
|
3.1 The GFSI_attrs Field
|
3.3 Matching a File's Token
GFSI_fileCriteria, MSG_GEN_FILE_SELECTOR_GET_FILE_CRITERIA, MSG_GEN_FILE_SELECTOR_SET_FILE_CRITERIA
Each File Selector can limit or extend its searches in several different ways. The File Selector's instance data contains information about which types of files to include in the display, which not to include, and other special criteria. (Note that if the proper
GFSI_attrs
are set, directories and volumes will be unaffected by these scan limitations.)
The attribute field
GFSI_fileCriteria
is a record that indicates which of several search limiters should be considered in a directory scan. Note that some limitations may be invoked without a corresponding
GFSI_fileCriteria
entry. There are several possible entries in
GFSI_fileCriteria
, and any or all may be turned on at once. Each flag in the field is shown below, along with the field that it affects:
ATTR_GEN_FILE_SELECTOR_NAME_MASK
.
GenFileSelectorClass
.
You should set the proper
GFSI_fileCriteria
attributes in your application's Goc code. However, you can change the
GFSI_fileCriteria
field at run-time with
MSG_GEN_FILE_SELECTOR_SET_FILE_CRITERIA
. You can also get the flags with
MSG_GEN_FILE_SELECTOR_GET_FILE_CRITERIA
. Both of these messages are detailed below.
void MSG_GEN_FILE_SELECTOR_SET_FILE_CRITERIA(
FileSelectorFileCriteria fileCriteria);
This message sets the File Selector's
GFSI_fileCriteria
record to a new set of flags. If the File Selector is visible when it receives this message, it will rescan the current directory with the new attributes. Otherwise, it will set the
GFSI_fileCriteria
record but will not rescan.
Source: Unrestricted.
Destination: Any GenFileSelector object.
Parameters:
fileCriteria
A record of
FileSelectorFileCriteria
to set into the File Selector's
GFSI_fileCriteria
record.
Return: Nothing.
Interception: Generally not intercepted.
See Also:
MSG_GEN_FILE_SELECTOR_SET_FILE_ATTRS
,
MSG_GEN_FILE_SELECTOR_SET_TOKEN
,
MSG_GEN_FILE_SELECTOR_SET_CREATOR
,
MSG_GEN_FILE_SELECTOR_SET_GEODE_ATTRS
,
MSG_GEN_FILE_SELECTOR_SET_MASK
FileSelectorFileCriteria MSG_GEN_FILE_SELECTOR_GET_FILE_CRITERIA();
This message returns the File Selector's current
GFSI_fileCriteria
record.
Source: Unrestricted.
Destination: Any GenFileSelector object.
Parameters: None.
Return: A record of
FileSelectorFileCriteria
representing the File Selector's
GFSI_fileCriteria
flags.
Interception: Generally not intercepted.
See Also:
MSG_GEN_FILE_SELECTOR_SET_FILE_ATTRS
,
MSG_GEN_FILE_SELECTOR_SET_TOKEN
,
MSG_GEN_FILE_SELECTOR_SET_CREATOR
,
MSG_GEN_FILE_SELECTOR_SET_GEODE_ATTRS
,
MSG_GEN_FILE_SELECTOR_SET_MASK
GEOS SDK TechDocs
|
|
3.1 The GFSI_attrs Field
|
3.3 Matching a File's Token