Condividi tramite


SizedDtblComboBox

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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)

Parameters

  • n
    Number of characters that can be entered in the combo box's edit control.

  • u
    Name for the new structure.

Remarks

The SizedDtblComboBox macro lets you define a combo box when the length of the enabled 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;

See Also

Reference

DTBLCOMBOBOX

Concepts

Macros Related to Structures