Export (0) Print
Expand All

SizedDtblCheckBox

Published: July 16, 2012

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)

n

Length of the label to be included in the new structure.

u

Name for the new structure.

The SizedDtblCheckBox macro lets you 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;

Community Additions

ADD
Show:
© 2014 Microsoft