Functions
ContainerPanelItem

Functions

StatusInt mdlDialog_containerPanelGetInfo (UInt32 *attributesP, int *containerIdP, MdlDesc **containerOwnerMDP, int *unused, RawItemHdr *pCtPanel)
 Gets information about a ContainerPanel dialog item. More...
 
StatusInt mdlDialog_containerPanelSetInfo (RawItemHdr *pCtPanel, UInt32 *attributesP, int *containerIdP, MdlDesc **containerOwnerMDP, int *unused, bool redraw)
 Sets information about a ContainerPanel dialog item. More...
 
StatusInt mdlDialog_containerPanelSetContainer (RawItemHdr *riP, int containerId, MdlDesc *containerOwnerMD, bool redraw)
 Sets the Container hosted by the ContainerPanel dialog item. More...
 
StatusInt mdlDialog_containerPanelItemAdded (RawItemHdr *pCtPanel, RawItemHdr *pNewItem, bool redraw)
 Notifies the ContainerPanel dialog item that a new item was added to it. More...
 
StatusInt mdlDialog_containerPanelLoadItemList (RawItemHdr *pCtPanel, DialogItemListRsc *diListRscP, MdlDesc **diListOwnerMDP, bool redraw)
 Loads a DialogItemListRsc into the ContainerPanel. More...
 
StatusInt mdlDialog_containerPanelFreeItems (RawItemHdr *pCtPanel)
 Frees the dialog items contained in the associated Container. More...
 

Detailed Description

Function Documentation

StatusInt mdlDialog_containerPanelFreeItems ( RawItemHdr pCtPanel)

Frees the dialog items contained in the associated Container.

Parameters
[in]pCtPanelis the ContainerPanel from which to free the items.
Returns
SUCCESS, or a non-zero value if an error occurs.
See also
mdlDialog_containerPanelGetInfo
StatusInt mdlDialog_containerPanelGetInfo ( UInt32 attributesP,
int *  containerIdP,
MdlDesc **  containerOwnerMDP,
int *  unused,
RawItemHdr pCtPanel 
)

Gets information about a ContainerPanel dialog item.

Parameters
[in]attributesPis the attributes of the ContainerPanel. Pass NULL in this argument if you do not want this value returned.
[in]containerIdPis the ID of the Container. Pass NULL in this argument if you do not want this value returned.
[in]containerOwnerMDPis the owner of the Container. Pass NULL in this argument if you do not want this value returned.
[in]unused
[in]pCtPanelis the ContainerPanel for which the information will be returned.
Returns
SUCCESS, or a non-zero value if an error occurs.
See also
mdlDialog_containerPanelSetInfo
StatusInt mdlDialog_containerPanelItemAdded ( RawItemHdr pCtPanel,
RawItemHdr pNewItem,
bool  redraw 
)

Notifies the ContainerPanel dialog item that a new item was added to it.

Parameters
[in]pCtPanelis the ContainerPanel to be notified.
[in]pNewItema pointer to the RawItemHdr of the item added.
[in]redrawindicates whether to draw the items after moving the new item
Returns
SUCCESS, or a non-zero value if an error occurs.
See also
mdlDialog_containerPanelGetInfo
StatusInt mdlDialog_containerPanelLoadItemList ( RawItemHdr pCtPanel,
DialogItemListRsc diListRscP,
MdlDesc **  diListOwnerMDP,
bool  redraw 
)

Loads a DialogItemListRsc into the ContainerPanel.

Parameters
[in]pCtPanelis the ContainerPanel in which to load the item list.
[in]diListRscPpointer to the loaded DialogItemListRsc.
[in]diListOwnerMDPis the owner of the corresponding DialogItemListRsc. Pass NULL in this argument if you do not want to set this value.
[in]redrawdetermines whether items in the ContainerPanel will be drawn after loading.
Returns
SUCCESS, or a non-zero value if an error occurs.
See also
mdlDialog_containerPanelGetInfo
StatusInt mdlDialog_containerPanelSetContainer ( RawItemHdr riP,
int  containerId,
MdlDesc containerOwnerMD,
bool  redraw 
)

Sets the Container hosted by the ContainerPanel dialog item.

Parameters
[in]riPis the ContainerPanel for which the information will be set.
[in]containerIdis the ID of the Container.
[in]containerOwnerMDis the owner MD of the Container.
[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_containerPanelSetInfo
StatusInt mdlDialog_containerPanelSetInfo ( RawItemHdr pCtPanel,
UInt32 attributesP,
int *  containerIdP,
MdlDesc **  containerOwnerMDP,
int *  unused,
bool  redraw 
)

Sets information about a ContainerPanel dialog item.

Parameters
[in]pCtPanelis the ContainerPanel for which the information will be set.
[in]attributesPgives the attribute values for the ContainerPanel. Pass NULL in this argument if you do not want to set this value.
[in]containerIdPis the ID of the Container. Pass NULL in this argument if you do not want to set this value.
[in]containerOwnerMDPis the owner of the Container. Pass NULL in this argument if you do not want to set this value.
[in]unused
[in]redrawdetermines whether items in the ContainerPanel will be drawn after loading, and whether the container will be redrawn.
Returns
SUCCESS, or a non-zero value if an error occurs.
See also
mdlDialog_containerPanelGetInfo

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