DTBLLABEL 

The DTBLLABEL structure describes a label to be used in a dialog box that is built from a display table.

Quick Info

Header file:

MAPIDEFS.H

Related macro

SizedDtblLabelYIEZRE

 

typedef struct _DTBLLABEL

     ULONG ulbLpszLabelName;

     ULONG ulFlags;

} DTBLLABEL, FAR *LPDTBLLABEL;

 

Members

ulbLpszLabelName

Position in memory of the character string label.

ulFlags

Bitmask of flags used to designate the format of the label pointed to by the ulbLpszLabelName member. The following flag can be set:

MAPI_UNICODE

The label is in Unicode format. If the MAPI_UNICODE flag is not set, the label is in ANSI format.

 

Remarks

A DTBLLABEL structure describes a label control   text that is displayed with another type of control to add meaning to that control. For example, most edit controls are placed next to labels to inform the user of the type of information to be entered. Some controls, such as group boxes and radio buttons, hold their own labels.

The label can include a Windows accelerator, identified as the character following the ampersand (&). Typing the accelerator character puts the focus in the first non-label, non-button control following this label in the display table.

There is no support for multiline labels. Showing multiple lines requires multiple labels.

It is not possible to use a label as a read-only edit control. The distinction is that an edit control can be selected and copied while a label cannot.

For an overview of display tables, see Display Tables12983_W. For information about implementing a display table, see Implementing a Display Table3Q3A1K.

See Also

DTCTL