Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[CONNECT C++] Dialog Layout Manager

$
0
0

Some example MicroStationAPI apps have dialog definitions with auto layout management.  For example...

CmdItemListRsc          ItemList_ECSChemaExample =
    {{
    BEGIN_VSTACK_LAYOUT(VSTACKLAYOUTID_ToolSettingsMain,"")
        BEGIN_HSTACK_LAYOUT(0, "")
            STRETCH(1)
            BEGIN_VSTACK_LAYOUT(0, "")
                BEGIN_GRID_LAYOUT(GRIDLAYOUTID_3ColumnsInner, "marginBottom='10'")
                    GRID_ROW(0, "")
                        LAYOUT_LABEL_NEXT_RIGHT(8*XC, "")
                        {{AUTO_XY, 51*XC, 0},     Text,           TEXTID_Processfile,        ON, 0, "", ""},
                        {AUTO_XYWH,                         IconCmdX,       ICONCMDID_BrowseFile,      ON, 0, "", ""},
                    END_ROW
                END_LAYOUT
                {{0, 0, 0, 50*YC},  Tree,        TREEID_ContentList,                  ON, 0, "", ""},
            END_LAYOUT
            STRETCH(1)
        END_LAYOUT

        STRETCH(1)
    END_LAYOUT
    }};

Is there a guide to help us through that maze of macros?


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>