The SizedDtblCheckBox macro creates a named structure that includes a DTBLCHECKBOX structure for describing a check box control and a label of a specified length.
Header file: | MAPIDEFS.H |
Related structure: | DTBLCHECKBOX |
SizedDtblCheckBox (n, u)
The SizedDtblCheckBox macro provides a way to define a check box when the number of label characters is known. The new structure is created with the following members:
DTBLCHECKBOX dtblcheckbox;
TCHAR lpszLabel[n];
To use a pointer to the resulting structure from the SizedDtblCheckBox macro as a DTBLCHECKBOX structure pointer, perform the following cast:
lpDtblCheckBox = (LPDTBLCHECKBOX) &SizedDtblCheckBox;