72 #define MC_TABLE_HEADER 0xffff
82 #define MC_TCMF_TEXT 0x00000001
84 #define MC_TCMF_PARAM 0x00000004
86 #define MC_TCMF_FLAGS 0x00000008
98 #define MC_TCF_ALIGNDEFAULT 0x00000000
100 #define MC_TCF_ALIGNLEFT 0x00000001
102 #define MC_TCF_ALIGNCENTER 0x00000003
104 #define MC_TCF_ALIGNRIGHT 0x00000002
106 #define MC_TCF_ALIGNVDEFAULT 0x00000000
108 #define MC_TCF_ALIGNTOP 0x00000004
110 #define MC_TCF_ALIGNVCENTER 0x0000000C
112 #define MC_TCF_ALIGNBOTTOM 0x00000008
115 #define MC_TCF_ALIGNMASKHORZ (MC_TCF_ALIGNDEFAULT | MC_TCF_ALIGNLEFT | \
116 MC_TCF_ALIGNCENTER | MC_TCF_ALIGNRIGHT)
118 #define MC_TCF_ALIGNMASKVERT (MC_TCF_ALIGNVDEFAULT | MC_TCF_ALIGNTOP | \
119 MC_TCF_ALIGNVCENTER | MC_TCF_ALIGNBOTTOM)
131 typedef struct MC_TABLECELLW_tag {
153 typedef struct MC_TABLECELLA_tag {
311 #define MC_TABLECELL MCTRL_NAME_AW(MC_TABLECELL)
313 #define mcTable_SetCell MCTRL_NAME_AW(mcTable_SetCell)
315 #define mcTable_GetCell MCTRL_NAME_AW(mcTable_GetCell)
#define MCTRL_API
Definition: _defs.h:46
BOOL mcTable_GetCellW(MC_HTABLE hTable, WORD wCol, WORD wRow, MC_TABLECELLW *pCell)
Get contents of a cell (Unicode variant).
DWORD fMask
Definition: table.h:133
BOOL mcTable_SetCellA(MC_HTABLE hTable, WORD wCol, WORD wRow, MC_TABLECELLA *pCell)
Set contents of a cell (ANSI variant).
DWORD fMask
Definition: table.h:155
WORD mcTable_RowCount(MC_HTABLE hTable)
Retrieve count of table rows.
char * pszText
Definition: table.h:157
BOOL mcTable_GetCellA(MC_HTABLE hTable, WORD wCol, WORD wRow, MC_TABLECELLA *pCell)
Get contents of a cell (ANSI variant).
void mcTable_Release(MC_HTABLE hTable)
Decrement reference counter of the table.
BOOL mcTable_Resize(MC_HTABLE hTable, WORD wColumnCount, WORD wRowCount)
Resize the table.
int cchTextMax
Definition: table.h:159
void mcTable_Clear(MC_HTABLE hTable, DWORD dwWhat)
Clear the table.
DWORD dwFlags
Definition: table.h:163
void mcTable_AddRef(MC_HTABLE hTable)
Increment reference counter of the table.
BOOL mcTable_SetCellW(MC_HTABLE hTable, WORD wCol, WORD wRow, MC_TABLECELLW *pCell)
Set contents of a cell (Unicode variant).
int cchTextMax
Definition: table.h:137
MC_HTABLE mcTable_Create(WORD wColumnCount, WORD wRowCount, DWORD dwReserved)
Create new table.
LPARAM lParam
Definition: table.h:161
WCHAR * pszText
Definition: table.h:135
DWORD dwFlags
Definition: table.h:141
Structure describing a table cell (ANSI variant).
Definition: table.h:153
Structure describing a table cell (Unicode variant).
Definition: table.h:131
WORD mcTable_ColumnCount(MC_HTABLE hTable)
Retrieve count of table columns.
void * MC_HTABLE
Opaque table handle.
Definition: table.h:58
LPARAM lParam
Definition: table.h:139
Common constants and types.