mCtrl 0.8.2
Data Fields

MC_TABLECELL Struct Reference

Structure describing a table cell. More...

Data Fields

DWORD fMask
 Bitmask specifying what other members are valid. See MC_TCM_xxxx.
MC_HVALUETYPE hType
 Handle of value type.
MC_HVALUE hValue
 Handle of value.
COLORREF crForeground
 Foreground color. It's up to the value type if it respects it.
COLORREF crBackground
 Background color.
DWORD dwFlags
 Cell flags. See MC_TCF_xxxx.

Related Functions

(Note that these are not member functions.)
MC_TABLECELL::fMask Bits

 MC_TCM_VALUE
 Set if MC_TABLECELL::hType and MC_TABLECELL::hValue are valid.
 MC_TCM_FOREGROUND
 Set if MC_TABLECELL::crForeground is valid.
 MC_TCM_BACKGROUND
 Set if MC_TABLECELL::crBackground is valid.
 MC_TCM_FLAGS
 Set if MC_TABLECELL::dwFlags is valid.
MC_TABLECELL::dwFlags Bits

 MC_TCF_ALIGNDEFAULT
 Paint the cell value aligned horizontally as default for the value type.
 MC_TCF_ALIGNLEFT
 Paint the cell value aligned horizontally to left.
 MC_TCF_ALIGNCENTER
 Paint the cell value aligned horizontally to center.
 MC_TCF_ALIGNRIGHT
 Paint the cell value aligned horizontally to right.
 MC_TCF_ALIGNVDEFAULT
 Paint the cell value aligned vertically as normal for the value type.
 MC_TCF_ALIGNTOP
 Paint the cell value aligned vertically to top.
 MC_TCF_ALIGNVCENTER
 Paint the cell value aligned vertically to center.
 MC_TCF_ALIGNBOTTOM
 Paint the cell value aligned vertically to bottom.

Detailed Description

Structure describing a table cell.

Note that only members corresponding to the set bits of the fMask are considered valid. (fMask itself is always valid of course.)

See also:
mcTable_SetCellEx mcTable_GetCellEx