Platform SDK: MAPI |
The SizedDtblComboBox macro creates a named structure that includes a DTBLCOMBOBOX structure for describing a combo box control and the maximum number of characters that can be entered in the associated edit control.
Header file: | MAPIDEFS.H |
Related structure: | DTBLCOMBOBOX |
SizedDtblComboBox (n, u)
The SizedDtblComboBox macro provides a way to define a combo box when the length of the allowed character string is known. The new structure is created with the following members:
DTBLCOMBOBOX dtblcombobox; TCHAR lpszCharsAllowed[n];
To use a pointer to the resulting structure from the SizedDtblComboBox macro as a DTBLCOMBOBOX structure pointer, perform the following cast:
lpDtblComboBox = (LPDTBLCOMBOBOX) &SizedDtblComboBox;