SizedDtblCheckBox

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.

Quick Info

Header file: MAPIDEFS.H
Related structure: DTBLCHECKBOX

SizedDtblCheckBox (n, u)

Parameters

n
Length of the label to be included in the new structure.
u
Name for the new structure.

Remarks

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;