Classes | Namespaces | Functions
GuiLayout.h File Reference
#include <Mstn\MstnTypes.h>
#include <UI\Layout\LayoutControl.h>
#include <UI\Layout\SplitterLayout.h>

Go to the source code of this file.

Classes

struct  GuiLayoutHelper
 
struct  GuiLayoutControl
 GuiLayoutControl is the layout wrapper for a dialog item (control) in the dialog. More...
 
struct  GuiLayoutLabel
 GuiLayoutLabel is the layout wrapper for a Label dialog item in the dialog. More...
 
struct  GuiLayoutContainerPanel
 GuiLayoutContainerPanel is the layout wrapper for a ContainerPanel dialog item in the dialog. More...
 
struct  GuiLayoutTabPageList
 GuiLayoutTabPageList is the layout wrapper for a TabPageList dialog item in the dialog. More...
 
struct  GuiLayoutSeparator
 GuiLayoutSeparator is the layout wrapper for a Separator dialog item in the dialog. More...
 
struct  GuiSplitterHandle
 GuiSplitterHandle is the handle used in a SplitterLayout, which easily lays out a control on either side of a Sash dialog item. More...
 

Namespaces

 Bentley
 The Bentley namespace contains types defined by the Bentley Library.
 
 Bentley::MstnPlatform
 Namespace for classes, methods and functions of the MstnPlatform library.
 

Functions

LayoutManagermdlDialog_getLayoutManager (MSDialogP dbP)
 Gets the LayoutManager object pointer for this MSDialog. More...
 
void mdlDialog_setLayoutManager (MSDialogP dbP, LayoutManager *layoutManagerP)
 Sets the LayoutManager object pointer for this MSDialog. More...
 
StatusInt mdlDialog_containerSetLayoutManager (RawItemHdrP containerP, LayoutManager *layoutManagerP)
 Sets the LayoutManager for the Container that will manage the layout of the Container's dialog items. More...
 
StatusInt mdlDialog_tabPageSetLayoutManager (RawItemHdrP tabPageP, LayoutManager *layoutManagerP)
 Sets the LayoutManager for the TabPage that will manage the layout of the TabPage's dialog items. More...
 

Function Documentation

StatusInt mdlDialog_containerSetLayoutManager ( RawItemHdrP  containerP,
LayoutManager layoutManagerP 
)

Sets the LayoutManager for the Container that will manage the layout of the Container's dialog items.

Parameters
[in]containerPthe Container for which to set the LayoutManager
[in]layoutManagerPthe LayoutManager that will manager the layout of the child items
Returns
SUCCESS, or a non-zero value if an error occurs.
LayoutManager* mdlDialog_getLayoutManager ( MSDialogP  dbP)

Gets the LayoutManager object pointer for this MSDialog.

The LayoutManager controls the dynamic layout management of items within the dialog.

Parameters
[in]dbPa pointer to the MSDialog
Returns
The pointer to the LayoutManager object.
See also
mdlDialog_setLayoutHelper mdlDialog_setLayoutManager
void mdlDialog_setLayoutManager ( MSDialogP  dbP,
LayoutManager layoutManagerP 
)

Sets the LayoutManager object pointer for this MSDialog.

The LayoutManager is actually set in the GuiLayoutHelper for a MSDialog. The application will normally call GuiLayoutHelper::SetLayout then mdlDialog_setLayoutHelper instead of calling mdlDialog_setLayoutManager directly.

Parameters
[in]dbPa pointer to the MSDialog
[in]layoutManagerPa pointer to the LayoutManager object that will control the layout of items within the dialog.
See also
mdlDialog_setLayoutHelper
StatusInt mdlDialog_tabPageSetLayoutManager ( RawItemHdrP  tabPageP,
LayoutManager layoutManagerP 
)

Sets the LayoutManager for the TabPage that will manage the layout of the TabPage's dialog items.

Parameters
[in]tabPagePthe TabPage for which to set the LayoutManager
[in]layoutManagerPthe LayoutManager that will manager the layout of the child items
Returns
SUCCESS, or a non-zero value if an error occurs.

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