VIEW_TABLE_FLAG_COLLAPSED - View will default to fully collapsed.
VIEW_TABLE_FLAG_FLATINDEX - Do not index hierarchically If FALSE, the '$REF' item must be LAST in the list of summary items for this view.
VIEW_TABLE_FLAG_DISP_ALLUNREAD - Display unread flags in margin at ALL levels.
VIEW_TABLE_FLAG_CONFLICT - Replication conflicts will be flagged. If TRUE, the '$Conflict' item must be SECOND-TO-LAST in the list of summary items for this view.
VIEW_TABLE_FLAG_DISP_UNREADDOCS - Display unread flags in margin for documents only.
VIEW_TABLE_GOTO_TOP_ON_OPEN - Position to top when view is opened.
VIEW_TABLE_GOTO_BOTTOM_ON_OPEN - Position to bottom when view is opened.
VIEW_TABLE_ALTERNATE_ROW_COLORING - Color alternate rows.
VIEW_TABLE_HIDE_HEADINGS - Hide headings.
VIEW_TABLE_HIDE_LEFT_MARGIN - Hide left margin.
VIEW_TABLE_SIMPLE_HEADINGS - Show simple (background color) headings.
VIEW_TABLE_VARIABLE_LINE_COUNT - TRUE if LineCount is variable (can be reduced as needed).
VIEW_TABLE_GOTO_TOP_ON_REFRESH - Position to top when view is refreshed (as if the user pressed F9 and Ctrl-Home). When both VIEW_TABLE_GOTO_TOP_ON_REFRESH and VIEW_TABLE_GOTO_BOTTOM_ON_REFRESH flags are set, the view will be refreshed from the current top row (as if the user pressed F9). When both flags are clear, automatic refresh of display on update notification is disabled. In this case, the refresh indicator will be displayed.
VIEW_TABLE_GOTO_BOTTOM_ON_REFRESH - Position to bottom when view is refreshed (as if the user pressed F9 and Ctrl-End). When both VIEW_TABLE_GOTO_TOP_ON_REFRESH and VIEW_TABLE_GOTO_BOTTOM_ON_REFRESH flags are set, the view will be refreshed from the current top row (as if the user pressed F9). When both flags are clear, automatic refresh of display on update notification is disabled. In this case, the refresh indicator will be displayed.
VIEW_TABLE_EXTEND_LAST_COLUMN - TRUE if last column should be extended to fit the window width.
VIEW_TABLE_RTLVIEW - TRUE if the View indexing should work from the Right most column
Description :
These flags help define the format used when a view is displayed. The Flags word of the VIEW_TABLE_FORMAT structure contains a value constructed by combining these flags using bitwise-OR.
Sample Usage :
/*
Initialize the VIEW_TABLE_FORMAT structure.
*/
ViewTableFormat.Header.Version = VIEW_FORMAT_VERSION;
ViewTableFormat.Header.ViewStyle = VIEW_STYLE_TABLE;
ViewTableFormat.Columns = wNumColumns;
ViewTableFormat.ItemSequenceNumber = 0; /* Reserved - should be 0 */