SizedDtblGroupBox

The SizedDtblGroupBox macro creates a named structure that includes a DTBLGROUPBOX structure for describing a group box control and a label of a specified length.

Quick Info

Header file: MAPIDEFS.H
Related structure: DTBLGROUPBOX

SizedDtblGroupBox (n, u)

Parameters

n
Length of the group box's label.
u
Name for the new structure.

Remarks

The SizedDtblGroupBox macro provides a way to define a group box control when the length of the label is known. The new structure is created with the following members:

DTBLGROUPBOX            dtblgroupbox;
TCHAR                   lpszLabel[n];
 

To use a pointer to the resulting structure from the SizedDtblGroupBox macro as a DTBLGROUPBOX structure pointer, perform the following cast:

lpDtblGroupBox = (LPDTBLGROUPBOX) &SizedDtblGroupBox;