Compartilhar via


SizedDtblPage

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 DTBLPAGE structure for describing a tabbed page control, a label of a specified length, and a Help file entry of a specified length.

Header file:

Mapidefs.h

Related structure:

DTBLPAGE

SizedDtblPage (n, n1, u)

Parameters

  • n
    Length of the label for the page tab.

  • n1
    Length of the entry appearing in the Mapisvc.inf file identifying the Help file that will be used with the tabbed page control.

  • u
    Name for the new structure.

Remarks

The SizedDtblPage macro lets you define a tabbed page control when the number of characters in the associated label and Help file entry is known. The new structure is created with the following members:

DTBLPAGE dtblpage;
TCHAR lpszLabel[n];
TCHAR lpszComponent[n1];

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

lpDtblPage = (LPDTBLPAGE) &SizedDtblPage;

See Also

Reference

DTBLPAGE

Concepts

Macros Related to Structures