SizedDtblEdit

The SizedDtblEdit macro defines a structure similar to DTBLEDIT but with the added explicit number of characters contained in the allowed characters member.

Quick Info

Header file:

MAPIDEFS.H

Related structure:

DTBLEDITSTYJX7

 

SizedDtblEdit (int n, u)

Parameters

n

The length of the allowed characters string. See ulbLpszCharsAllowed for the formatting rules of the allowed character string.

 

Remarks

The SizedDtblEdit macro provides a way to define a text edit box when the number of allowed characters is known. A DTBLEDIT structure does not explicitly give the length of the lpszCharsAllowed string, it only provides an offset to the first character in the string.

To use lpSizedDtblEdit, which is a sized, display table edit pointer, in any function call or structure that expects a LPDTBLEDIT pointer, perform the following cast:

lpDtblEdit = (LPDTBLEDIT) lpSizedDtblEdit