DTBLDDLBX
The DTBLDDLBX
structure describes a drop-down list box control to be used in a dialog box
built from a display table.
Quick Info
Header
file: |
MAPIDEFS.H |
typedef struct _DTBLDDLBX
{
ULONG
ulFlags;
ULONG
ulPRDisplayProperty;
ULONG
ulPRSetProperty;
ULONG
ulPRTableName;
} DTBLDDLBX, FAR *LPDTBLDDLBX;
Members
ulFlags
Reserved, must
be zero.
ulPRDisplayProperty
Property tag
for a property of type PT_TSTRING. This property is one of the columns in the
table identified by the ulPRTableTable member. The values for this
property are displayed in the list box.
ulPRSetProperty
Property tag
for a property of any type. This property is one of the columns in the table
identified by the ulPRTableTable member. When the user of the list box
selects a property value for the ulPRDisplayProperty member from the
rows of the table identified by the ulPRTableName member, the corresponding
ulPRSetProperty member is set.
ulPRTableName
Property tag
for a table property of type PT_OBJECT that can be opened using an OpenProperty
call. The table should have two columns: ulPRDisplayProperty and ulPrSetProperty.
The rows of the table should correspond to items in the list box.
Remarks
A DTBLDDLBX
structure describes a drop-down list box a list box control that is displayed as a single item until the user
elects to expand it. The following illustration provides an example of a
drop-down list box.
{bmc bm10.BMP}
The three
properties identified by the property tags work together to display the
information in the list box and set a related property. The ulPRTableName
member is a table object that is accessed through a call to IMAPIProp::OpenProperty
The ulPRDisplayProperty
property drives the list box display. When a user selects one of the values
from the display, MAPI calls IMAPIProp::SetProps
An initial
value is displayed in the list box if MAPI has retrieved the property
represented by the ulPRSetProperty member through a call to IMAPIProp::GetProps
For an
overview of display tables, see Display Tables
See Also