다음을 통해 공유


SizedDtblLabel

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 DTBLLABEL structure for describing a label control and the associated label of a specified length.

Specified in header file:

Mapidefs.h

Related structure

DTBLLABEL

SizedDtblLabel (n, u)

Parameters

  • n
    Length of the label. This includes the ending NULL character.

  • u
    Name for the new structure.

Remarks

The SizedDtblLabel macro lets you define a display table label when the number of characters in the label is known. The new structure is created with the following members:

DTBLLABEL dtbllabel;
TCHAR lpszLabelName[n];

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

lpDtblLabel = (LPDTBLLABEL) &SizedDtblLabel;

See Also

Reference

DTBLLABEL

Concepts

Macros Related to Structures