GEOS SDK TechDocs
|
|
3 File Selector Instance Data
|
3.2 The GFSI_fileCriteria Field
GFSI_attrs, MSG_GEN_FILE_SELECTOR_GET_ATTRS, MSG_GEN_FILE_SELECTOR_SET_ATTRS
The GenFileSelector has ten attributes in
GFSI_attrs
, shown below. They are stored as a word-sized record of type
FileSelectorAttrs
; they may be retrieved with
MSG_GEN_FILE_SELECTOR_GET_ATTRS
and set with
MSG_GEN_FILE_SELECTOR_SET_ATTRS
.
ATTR_GEN_FILE_SELECTOR_VIRTUAL_ROOT
attribute. This allows changing the File Selector without altering the vardata.void MSG_GEN_FILE_SELECTOR_SET_ATTRS(
FileSelectorAttrs attributes);
This message sets the File Selector's
GFSI_attrs
record to a new set of attributes. The File Selector will rescan the current directory using the new attributes. If the File Selector is not visible when it receives this message, it will set the attributes but will not rescan the directory.
Source: Unrestricted.
Destination: Any GenFileSelector object.
Parameters:
attributes
A record of
FileSelectorAttrs
to set into the File Selector's
GFSI_attrs
record.
Return: Nothing.
Interception: Generally not intercepted.
FileSelectorAttrs MSG_GEN_FILE_SELECTOR_GET_ATTRS();
This message returns the current attributes set in the File Selector's
GFSI_attrs
instance data.
Source: Unrestricted.
Destination: Any GenFileSelector object.
Parameters: None.
Return: A record of
FileSelectorAttrs
representing the flags set in the File Selector's
GFSI_attrs
field.
Interception: Generally not intercepted.
GEOS SDK TechDocs
|
|
3 File Selector Instance Data
|
3.2 The GFSI_fileCriteria Field