Specify one of the following for each column to choose
the type of data that is displayed in each column:
CFA_BITMAPORICON
The column contains bit-map or
icon data.
CFA_DATE
The
data in the column is displayed in date format. National Language Support
(NLS) is enabled for date format. Use the data structure described in CDATE
CFA_STRING
Character
or text data is displayed in this column.
CFA_TIME
The data in the column is displayed in time format.
National Language Support (NLS) is enabled for time format. Use the data
structure described in CTIME.
CFA_ULONG
Unsigned number data is displayed in this column.
National Language Support (NLS) is enabled for number format.
Specify
any or all of the following column attributes:
CFA_FIREADONLY
Prevents text in a FIELDINFO
data structure (text in a column) from being edited directly. This attribute
applies only to columns for which the CFA_STRING attribute has been specified.
CFA_HORZSEPARATOR
A horizontal
separator is provided beneath column headings.
CFA_INVISIBLE
Invisible container column. The default is visible.
CFA_OWNER
Ownerdraw is
enabled for this container column.
CFA_SEPARATOR
A vertical separator is drawn after this column.
Specify
one of the following for each column to vertically position data in that
column:
CFA_BOTTOM
Bottom-justifies field data.
CFA_TOP
Top-justifies field data.
CFA_VCENTER
Vertically centers field data. This is the default.
Specify
one of the following for each column to horizontally position data in that
column. These attributes can be combined with the attributes used for vertical
positioning of column data by using an OR operator (|).
CFA_CENTER
Horizontally centers field data.
CFA_LEFT
Left-justifies field data. This is the default.
CFA_RIGHT
Right-justifies
field data.
Specify
the following if new comparison descriptions are used:
CFA_NEWCOMP
Tells the system to use strings specified
in pNewComp.
Specify
the following if a pointer to an object needs to be passed as the first
parameter of a user-defined comparison function:
CFA_OBJECT
Tells the system that the applications
wants to use its own comparison function in which the first parameter is
a pointer to an object. For example:
LONG MyComp(WPObject *obj, PSZ str2)
This flag must be ORed (|) together with one of the type flags (CFA_BITMAPORICON,
CFA_DATE, CFA_STRING, CFA_TIME, or CFA_ULONG) to tell the object the type
that is being compared.