SizedDtblPage

The SizedDtblPage macro defines a structure similar to DTBLPAGE but whose page label and Help file component string are of specified character lengths.

Quick Info

Header file:

MAPIDEFS.H

Related structure:

DTBLPAGESU9GUS

 

SizedDtblPage (int n, int n1, u)

Parameters

n

The character length of the page's label.

n1

The character length of a Help file component string that appears in a MAPISVC.INF entry mapping Help files to user interface items. If this string is not NULL, a user can access extended Help for the tabbed page by clicking the Help button on the property sheet. The structure type is defined with the tag _DTBLPAGE_ u and type name u.

 

Remarks

The SizedDtblPage macro provides a means of defining a display table page when the number of label and component string characters is known. A DTBLPAGE structure does not explicitly give the length of these strings, only offsets to their locations in memory allocated for the structure.

To use lpSizedDtblPage, a sized display-table page pointer in any function call or structure that expects a LPDTBLPAGE pointer, perform the following cast:

lpDtblPage = (LPDTBLPAGE) lpSizedDtblPage