Partager via


SizedDtblEdit

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 DTBLEDIT structure for describing an edit control and the maximum number of characters that can be entered in the control.

Header file:

Mapidefs.h

Related structure:

DTBLEDIT

SizedDtblEdit (n, u)

Parameters

  • n
    Maximum number of characters that can be entered in the edit control.

  • u
    Name for the new structure.

Remarks

The SizedDtblEdit macro lets you define an edit control when the number of enabled characters is known. The new structure is created with the following members:

DTBLEDIT dtbledit;
TCHAR lpszCharsAllowed[n];

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

lpDtblEdit = (LPDTBLEDIT) &SizedDtblEdit;

See Also

Reference

DTBLEDIT

Concepts

Macros Related to Structures