Functions
LevelList Item

Functions

StatusInt mdlDialog_levelListSetFileNumber (RawItemHdr *pRawLevelList, DgnModelRefP modelRef, bool appendToList, bool redraw)
 Specifies which design file's levels will be displayed in the specified Level List. More...
 
StatusInt mdlDialog_levelListSetAttributes (RawItemHdr *pRawLevelList, UInt32 attributes)
 Sets the attribute values for the specified dialog box. More...
 
StatusInt mdlDialog_levelListGetAttributes (RawItemHdr *pRawLevelList, UInt32 *pAttributes)
 Gets the attribute values currently set on the specifed LevelList dialog item. More...
 
RawItemHdrmdlDialog_levelListGetListBoxP (RawItemHdr *pRawLevelList)
 Gets a pointer to the ListBox item contained within the specified LevelList dialog box item. More...
 

Detailed Description

Function Documentation

StatusInt mdlDialog_levelListGetAttributes ( RawItemHdr pRawLevelList,
UInt32 pAttributes 
)

Gets the attribute values currently set on the specifed LevelList dialog item.

Parameters
[in]pRawLevelListpoints to the LevelList dialog item.
[in]pAttributespoints to the LevelList attributes.
Returns
SUCCESS, or a non-zero value if an error occurs.
mdlDialog_levelListSetAttributes
RawItemHdr* mdlDialog_levelListGetListBoxP ( RawItemHdr pRawLevelList)

Gets a pointer to the ListBox item contained within the specified LevelList dialog box item.

Parameters
[in]pRawLevelListis a pointer to the LevelList item.
Returns
A pointer to the ListBox item contained within the LevelList, or NULL if an error occurs.
StatusInt mdlDialog_levelListSetAttributes ( RawItemHdr pRawLevelList,
UInt32  attributes 
)

Sets the attribute values for the specified dialog box.

Parameters
[in]pRawLevelListpoints to the LevelList dialog item.
[in]attributesis a list of attribute values. Possible LEVLISTATTR_ attribute values can be found in the dlogbox.r.h file.
Returns
SUCCESS, or a non-zero value if an error occurs.
See also
mdlDialog_levelListGetAttributes
StatusInt mdlDialog_levelListSetFileNumber ( RawItemHdr pRawLevelList,
DgnModelRefP  modelRef,
bool  appendToList,
bool  redraw 
)

Specifies which design file's levels will be displayed in the specified Level List.

Parameters
[in]pRawLevelListpoints to the LevelList dialog item that will display the level information for the specified file.
[in]modelRefis the model to get the levels from.
[in]appendToListindicates whether any existing level information in the LevelList is cleared before loading. Set false to clear the LevelList first, or true to append the new information to the contents of the LevelList item.
[in]redrawindicates whether the LevelList item should be redrawn after loading.
Returns
SUCCESS, or a non-zero value if an error occurs.
See also
mdlDialog_levelListSetAttributes

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