Platform SDK: MAPI |
The DTBLEDIT structure describes an edit control to be used in a dialog box built from a display table.
Header file: | MAPIDEFS.H |
Related macro: | SizedDtblEdit |
typedef struct _DTBLEDIT { ULONG ulbLpszCharsAllowed; ULONG ulFlags; ULONG ulNumCharsAllowed; ULONG ulPropTag; } DTBLEDIT, FAR *LPDTBLEDIT;
The filter is not interpreted as a regular expression and the same filter is applied to every character entered.The format of the filter is as follows:
* Any character is allowed (for example, "*").
[ ] Defines a set of characters (for example, "[0123456789]").
- Indicates a range of characters (for example, "[a-z]").
~ Indicates that these characters are not allowed (for example, "[~0-9]").
\ Used to quote any of the above symbols (for example, "[\-\\\[\]]" means -, \, [, and ] characters are allowed).
ulFlags
Bitmask of flags used to designate the format of the character filter. The following flag can be set:
A DTBLEDIT structure describes an edit control — an area on a dialog box that contains alphanumeric information. Almost all dialog boxes have at least one edit control. Edit controls can be modifiable by a user or read-only.
Edit controls can also be single line or multiline. Multiline edit controls typically have a scroll bar associated with them as shown in the following illustration.
For an overview of display tables, see Display Tables. For information about implementing a display table, see Implementing a Display Table.
Display Table Structures, DTCTL, IMAPIProp::GetProps, PR_CONTROL_TYPE