Functions
Container Item

Functions

StatusInt mdlDialog_containerGetInfo (UInt32 *attributesP, RscId *diListIdP, MdlDesc **diListOwnerMDP, int *numChildrenP, RawItemHdr *pCntnr)
 Gets information about a Container dialog item. More...
 
StatusInt mdlDialog_containerSetInfo (RawItemHdr *pCntnr, UInt32 *attributesP, RscId *diListIdP, MdlDesc **diListOwnerMDP, DialogItemListRsc *diListRscP, bool redraw)
 Sets information about a Container dialog item. More...
 
StatusInt mdlDialog_containerFreeItems (RawItemHdr *pCntnr)
 Removes the items in a Container from the Dialog Box and frees the items. More...
 

Detailed Description

Function Documentation

StatusInt mdlDialog_containerFreeItems ( RawItemHdr pCntnr)

Removes the items in a Container from the Dialog Box and frees the items.

Parameters
[in]pCntnris the Container for which the items will be removed and freed.
Returns
SUCCESS, or a non-zero value if an error occurs.
See also
mdlDialog_containerPanelGetInfo
StatusInt mdlDialog_containerGetInfo ( UInt32 attributesP,
RscId diListIdP,
MdlDesc **  diListOwnerMDP,
int *  numChildrenP,
RawItemHdr pCntnr 
)

Gets information about a Container dialog item.

Parameters
[in,out]attributesPis the attributes of the Container. Pass NULL in this argument if you do not want this value returned.
[in,out]diListIdPis the ID of the corresponding DialogItemListRsc. Pass NULL in this argument if you do not want this value returned.
[in,out]diListOwnerMDPis the owner of the corresponding DialogItemListRsc. Pass NULL in this argument if you do not want this value returned.
[in,out]numChildrenPis the number of children in the Container. Pass NULL in this argument if you do not want this value returned.
[in]pCntnris the Container for which the information will be returned.
Returns
SUCCESS, or a non-zero value if an error occurs.
See also
mdlDialog_containerSetInfo
StatusInt mdlDialog_containerSetInfo ( RawItemHdr pCntnr,
UInt32 attributesP,
RscId diListIdP,
MdlDesc **  diListOwnerMDP,
DialogItemListRsc diListRscP,
bool  redraw 
)

Sets information about a Container dialog item.

Parameters
[in]pCntnris the Container for which the information will be set.
[in]attributesPgives the attribute values for the Container. Pass NULL in this argument if you do not want to set this value.
[in]diListIdPis the ID of the corresponding DialogItemListRsc. Pass NULL in this argument if you do not want to set this value.
[in]diListOwnerMDPis the owner of the corresponding DialogItemListRsc. Pass NULL in this argument if you do not want to set this value.
[in]diListRscPis a pointer to a loaded DialogItemListRsc. This argument is mutually exclusive with diListIdP. Pass NULL in this argument if you do not want to set this value.
[in]redrawdetermines whether items in the Container will be drawn after loading.
Returns
SUCCESS, or a non-zero value if an error occurs.
See also
mdlDialog_containerPanelGetInfo

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.