This class combines a tree widget with a table widget to allow associating a row of data with an item in a tree.
Constructor.
Argument | Type | Default | Description |
p | FXComposite | Parent widget. | |
numVisItems | Int | Number of items to display. | |
numVisColumns | Int | Number of columns in the table to display. | |
numColumns | Int | Number of columns in the table. | |
tgt | FXObject | None | Message target. |
sel | Int | 0 | Message ID. |
opts | Int | AFXTREETABLE_NORMAL | Options and hints. |
x | Int | 0 | X coordinate of the origin. |
y | Int | 0 | Y coordinate of the origin. |
w | Int | 0 | Width of the table widget. |
h | Int | 0 | Height of the table widget. |
Appends a new tree item with the given text and optional icon after the other tree item.
Argument | Type | Default | Description |
other | FXTreeItem | ||
text | String | ||
oi | FXIcon | None | |
ci | FXIcon | None | |
notify | Bool | False |
Appends the new tree item after the other tree item.
Argument | Type | Default | Description |
other | FXTreeItem | ||
item | FXTreeItem | ||
notify | Bool | False |
Prepends a new tree item with the given text and optional icon prior to the other item.
Argument | Type | Default | Description |
other | FXTreeItem | ||
text | String | ||
oi | FXIcon | None | |
ci | FXIcon | None | |
notify | Bool | False |
Prepends the new item prior to the other tree item.
Argument | Type | Default | Description |
other | FXTreeItem | ||
item | FXTreeItem | ||
notify | Bool | False |
Prepends a new tree item with the given text and optional icon as the first child of the parent.
Argument | Type | Default | Description |
p | FXTreeItem | ||
text | String | ||
oi | FXIcon | None | |
ci | FXIcon | None | |
notify | Bool | False |
Prepends the new tree item as first child of parent.
Argument | Type | Default | Description |
p | FXTreeItem | ||
item | FXTreeItem | ||
notify | Bool | False |
Appends a new tree item with the given text and optional icon as the last child of the parent.
Argument | Type | Default | Description |
p | FXTreeItem | ||
text | String | ||
oi | FXIcon | None | |
ci | FXIcon | None | |
notify | Bool | False |
Appends the new tree item as the last child of the parent.
Argument | Type | Default | Description |
p | FXTreeItem | ||
item | FXTreeItem | ||
notify | Bool | False |
Adds a list that have only text items to the table and returns the list ID. The text strings of the list items are delimited by tab "\t" characters in the given text. The list is used by items of type LIST.
Argument | Type | Default | Description |
text | String | Tab "\t" delimited text string (e.g. "0\t50\t100\t150"). | |
opts | Int | AFXTREETABLE_LIST_NORMAL | Options. |
Adds a list to the table and returns the list ID. The list is used by items of type LIST.
Argument | Type | Default | Description |
opts | Int | AFXTREETABLE_LIST_NORMAL | List flag. |
Appends an item to the specified table list; returns the index of the new item.
Argument | Type | Default | Description |
listId | Int | ID of the list to append to. | |
text | String | Item's text. | |
icon | FXIcon | None | Item's icon. |
Sets the specified item in edit mode if the item is editable.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of item. |
Clears the text in the items in the specified range.
Argument | Type | Default | Description |
startItem | FXTreeItem | Tree item in which to start clearing. | |
startColumn | Int | Column in which to start clearing. | |
endItem | FXTreeItem | Tree item in which to end clearing. | |
endColumn | Int | Column in which to end clearing. | |
clearEditableOnly | Bool | True | Specify True to clear the text of editable items only. |
Removes all tree items and table rows.
Argument | Type | Default | Description |
notify | Bool | False |
Removes all items from the specified table list.
Argument | Type | Default | Description |
listId | Int | ID of the list to clear. |
Closes the specified item.
Argument | Type | Default | Description |
item | FXTreeItem | ||
notify | Bool | False |
Collapses the specified item to hide its children.
Argument | Type | Default | Description |
item | FXTreeItem | ||
notify | Bool | False |
Deletes columns starting at the specified column.
Argument | Type | Default | Description |
startColumn | Int | Starting column. | |
numColumns | Int | 1 | Number of columns to delete. |
notify | Bool | False | Specify True to notify target of the deletion. |
Deselects the specified item.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of item. | |
notify | Bool | False |
Deselects all items in the row.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
notify | Bool | False |
Expands the specified item to show its children.
Argument | Type | Default | Description |
item | FXTreeItem | ||
notify | Bool | False |
Returns the width, in pixels, of the specified column.
Argument | Type | Default | Description |
column | Int | Column index. |
Returns the default column width, in pixels, of the table.
Returns the value of a table item of type BOOL.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns the item checked state.
Argument | Type | Default | Description |
item | FXTreeItem |
Returns the tree item's closed icon.
Argument | Type | Default | Description |
item | FXTreeItem |
Returns the color of a table item of type COLOR. The color is "As is", "Default", or a color hex specification in the form of "RRGGBB" (e.g., "#0A1B2C").
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns the value of a table item of type FLOAT.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns the format of a table item of type REAL (see RealFormat).
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns the icon of a table item of type ICON.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns the value of a table item of type INT.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns the list ID of a table item of type LIST.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns the list index (selection) of a table item of type LIST.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns the number of digits to the left of the decimal point for a table item of type REAL.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns the tree item's open icon.
Argument | Type | Default | Description |
item | FXTreeItem |
Returns the precision for a table item of type REAL.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns the text of an item of type TEXT.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of item. |
Returns the type of a table item.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns the text-form value of a table item of any type.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns the icon of the item at the specified index of the specified table list.
Argument | Type | Default | Description |
listId | Int | ID of the list. | |
index | Int | Index into the list of the item to return. |
Returns the index of the item of the specified table list that has the specified icon. Returns -1 if no such item exists.
Argument | Type | Default | Description |
listId | Int | ID of the list. | |
icon | FXIcon | Icon. |
Returns the index of the item of the specified table list that has the specified text. Returns -1 if no such item exists.
Argument | Type | Default | Description |
listId | Int | ID of the list. | |
text | String | Text. |
Returns the text of the item at the specified index of the specified table list.
Argument | Type | Default | Description |
listId | Int | ID of the list. | |
index | Int | Index into the list of the item to return. |
Returns the number of items in the specified table list.
Argument | Type | Default | Description |
listId | Int | ID of the list. |
Inserts columns at the specified location.
Argument | Type | Default | Description |
startColumn | Int | Starting column. | |
numColumns | Int | 1 | Number of columns to insert. |
notify | Bool | False | Specify True to notify target of the insertion. |
Returns True if any item in the column is selected.
Argument | Type | Default | Description |
column | Int | Column index. |
Returns True if any item in the row is selected.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. |
Returns True if all items in the column are selected.
Argument | Type | Default | Description |
column | Int | Column index. |
Returns True if the specified table item is of type BOOL.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns True if the specified table item is of type COLOR.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns True if the table item is editable.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns True if the specified table item does not have a value.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns True if the tree item is expanded, False otherwise.
Argument | Type | Default | Description |
item | FXTreeItem |
Returns True if the specified table item is of type FLOAT.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns True if the specified table item is of type ICON.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns True if the specified table item is of type INT.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns True if the tree item is a leaf-item (has no children), False otherwise.
Argument | Type | Default | Description |
item | FXTreeItem |
Returns True if the specified tabl eitem is of type LIST.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns True if the tree item is opened, False otherwise.
Argument | Type | Default | Description |
item | FXTreeItem |
Returns True if the specified item is selected.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of item. |
Returns True if the specified table item is of type TEXT.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. |
Returns True if the specified item is visible.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of item. |
Returns True if all items in the row are selected.
Argument | Type | Default | Description |
item | FXTreeItem |
Deselects all items.
Argument | Type | Default | Description |
notify | Bool | False |
Scrolls to make the specified row, column fully visible.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of item. |
Scrolls vertically (only) to make the specified row fully visible.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. |
Opens the specified item.
Argument | Type | Default | Description |
item | FXTreeItem | ||
notify | Bool | False |
Removes the specified tree item and corresponding table row.
Argument | Type | Default | Description |
item | FXTreeItem | ||
notify | Bool | False |
Removes the specified tree items and their corresponding table rows, inclusively.
Argument | Type | Default | Description |
from | FXTreeItem | ||
to | FXTreeItem | ||
notify | Bool | False |
Removes the item at the specified index from the specified table list; returns the number of items remaining in list.
Argument | Type | Default | Description |
listId | Int | ID of the list to remove from. | |
index | Int | Index of the list item to remove. |
Selects the specified item.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of item. | |
notify | Bool | False |
Selects all items in the row.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
notify | Bool | False |
Sets the True and False icons of all existing and future table items in a column of type BOOL. Specifying -1 for the column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
trueIcon | FXIcon | None | Icon displayed when value is True; 0 = default icon. |
falseIcon | FXIcon | None | Icon displayed when value is False; 0 = default icon. |
Sets the value of all existing and future table items in a column of type BOOL. Specifying -1 for the column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
value | Bool | Specify True or False. |
Sets the color of all existing and future table items in a column of type COLOR. The color can be "As is", "Default", a color hex specification in the form of "RRGGBB" (e.g., "#0A1B2C"), or a pre-defined color name (e.g., "Red"). Specifying -1 for the column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
color | String | Color. |
Sets the color of the color item in the flyout menu for all existing and future table items that display "As is" or "Default" in a column of type COLOR. The color is either a color hex specification in the form of "RRGGBB" (e.g., "#0A1B2C") or a pre-defined color name (e.g., "Red"). Specifying -1 for the column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
color | String | Color. |
Sets the color flyout options for all existing and future table items in a column of type COLOR. Specifying -1 for the column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
opts | Int | Options (see ColorFlyoutOptions). |
Sets the editability of all existing and future table items in a column. Specifying -1 for the column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
editable | Bool | Specify True for editable, False for read-only. |
Sets the value of all existing and future table items in a column of type FLOAT. Specifying -1 for the column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
value | Float | Floating-point value. |
Sets the real format for all existing and future table items in a column of type REAL.
Argument | Type | Default | Description |
column | Int | Table column index. | |
format | Int | Default format of REAL values in column (see RealFormat). |
Sets the icon of all existing and future table items in a column of type ICON. Specifying -1 for the column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
icon | FXIcon | None | Icon. |
Sets the value of all existing and future table items in a column of type INT. Specifying -1 for the column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
value | Int | Integer value. |
Sets the justification of all existing and future table items in a column. Specifying -1 for the column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
justify | Int | Justification (see ItemJustify). |
Sets the list ID of all existing and future table items in a column of type LIST. Specifying -1 for the column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
listId | Int | List ID. |
Sets the list index (selection) of all existing and future table items in a column of type LIST. Specifying -1 for the column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
index | Int | Index of item to be selected. |
Sets the number of digits to the left of the decimal point for all existing and future table items in a column of type REAL.
Argument | Type | Default | Description |
column | Int | Table column index. | |
numDigits | Int | Default number of digits the left of the decimal point. |
Sets the precision for all existing and future table items in a column of type REAL.
Argument | Type | Default | Description |
column | Int | Table column index. | |
precision | Int | Number of digits to the right of the decimal point. |
Sets the text of all existing and future table items in a column of type TEXT. Specifying -1 for the column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
text | String | Text. |
Sets the type of a column. Specifying -1 for the table column will change all columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Table column index. | |
type | Int | Type (see Flags for item types). |
Sets the width, in pixels, of the specified column. Specifying -1 for the column will change all non-leading and non-trailing columns in the table and set the default for the table. Specify -1 for the width will resize each specified column to best fit the width of the title(s) currently shown in its leading and trailing items.
Argument | Type | Default | Description |
column | Int | Column index. | |
width | Int | Width in pixels. |
Sets the width, in number of characters, of the specified column. Specifying -1 for the column will change all non-leading and non-trailing columns in the table and set the default for the table.
Argument | Type | Default | Description |
column | Int | Column index. | |
numChars | Int | Width in number of characters. |
Sets the current item.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of item. | |
notify | Bool | False |
Sets the default True and False icons for the table (0 = default icon).
Argument | Type | Default | Description |
trueIcon | FXIcon | None | Icon displayed when value is True; 0 = default icon. |
falseIcon | FXIcon | None | Icon displayed when value is False; 0 = default icon. |
Sets the default bool value for the table.
Argument | Type | Default | Description |
value | Bool | Specify True or False. |
Sets the default color for all items of type COLOR in the table. The color can be "As is", "Default", a color hex specification in the form of "RRGGBB" (e.g., "#0A1B2C"), or a pre-defined color name (e.g., "Red").
Argument | Type | Default | Description |
color | String | Color. |
Sets the default width, in pixels, for all columns.
Argument | Type | Default | Description |
width | Int | Width in pixels. |
Sets the default floating-point value for the table.
Argument | Type | Default | Description |
value | Float | Floating-point value. |
Sets the default real format for the table.
Argument | Type | Default | Description |
format | Int | Format flag. |
Sets the default integer value for the table.
Argument | Type | Default | Description |
value | Int | Integer value. |
Sets the default justification for the table.
Argument | Type | Default | Description |
justify | Int | Justification (see ItemJustify). |
Sets the default number of digits to the left of the decimal point for the table.
Argument | Type | Default | Description |
numDigits | Int | Number of digits. |
Sets the precision for the table.
Argument | Type | Default | Description |
precision | Int | Precision. |
Sets the default text for the table.
Argument | Type | Default | Description |
text | String | Text. |
Sets the default type for the table.
Argument | Type | Default | Description |
type | Int | Type (see Flags for item types). |
Sets the True and False icons of a table item of type BOOL.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
trueIcon | FXIcon | None | Icon displayed when value is True; 0 = default icon. |
falseIcon | FXIcon | None | Icon displayed when value is False; 0 = default icon. |
Sets the value of a table item of type BOOL.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
value | Bool | Specify True or False. |
Sets the item checked state. Valid states are True, False and MAYBE. Returns True if the check value has changed, False otherwise.
Argument | Type | Default | Description |
item | FXTreeItem | ||
check | Int | ||
notify | Bool | False |
Changes the tree item's closed icon.
Argument | Type | Default | Description |
item | FXTreeItem | ||
icon | FXIcon |
Sets the color of a table item of type COLOR. The color can be "As is", "Default", a color hex specification in the form of "RRGGBB" (e.g., "#0A1B2C"), or a pre-defined color name (e.g., "Red").
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
color | String | Color. |
Sets the editability of a table item.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
editable | Bool | Specify True for editable, False for read-only. |
Sets the value of a table item of type FLOAT.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
value | Float | Floating-point value. |
Sets the format for a table item of type REAL (see RealFormat).
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Table column index of item. | |
format | Int | Format of table item (see RealFormat). |
Sets the icon of a table item of type ICON.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
icon | FXIcon | None | Icon. |
Sets the value of a table item of type INT.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
value | Int | Integer value. |
Sets the justification of an item.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
justify | Int | Justification (see ItemJustify). |
Sets the list ID of a table item of type LIST.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
listId | Int | List ID. |
Sets the list index (selection) of a table item of type LIST.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
index | Int | Index of item to be selected. |
Sets the number of digits to the left of the decimal point for a table item of type REAL.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
numDigits | Int | Number of digits. |
Sets the tree item's open icon.
Argument | Type | Default | Description |
item | FXTreeItem | ||
icon | FXIcon |
Sets the precision for a table item of type REAL.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
precision | Int | Number of digits to the right of the decimal point. |
Sets the text of an item of type TEXT.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of item. | |
text | String | Text. |
Sets the type of a table item.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
type | Int | Type (see Flags for item types). |
Sets the value of a table item of any type that can interpret a text string for its value. Returns True if the value of the specified item is set successfully.
Argument | Type | Default | Description |
item | FXTreeItem | Tree item. | |
column | Int | Column index of table item. | |
valueText | String | Text-form value of table item. |
Set the labels of the leading row. Note: this API must be used to set the header row labels, otherwise labels will be overwritten by auto-numbering.
Argument | Type | Default | Description |
str | String | Tab "\t" delimited list, can also contain newline characters indicating that label contains multiple lines of text (e.g. "Young's\nModulus\tPoisson's\nRatio"). |
Sets the maximum number of visible items for all table lists.
Argument | Type | Default | Description |
maxVisible | Int | Maximum number of visible items. |
Sets the table options.
Argument | Type | Default | Description |
style | Int | Style flag (see Flags for AFX table options). |
Sets the number of visible columns.
Argument | Type | Default | Description |
visibleColumns | Int | Number of visible columns. |
Sets the number of visible items.
Argument | Type | Default | Description |
visibleItems | Int | Number of visible items. |
Makes the table to use a different, typically shaded, background color for read-only items if True is passed to the method. The table would use the same regular background color for both editable and read-only items if False is passed to the method.
Argument | Type | Default | Description |
shadeItems | Bool | Specify True to use a different background color for read-only items. |
Flags for color flyouts (used for items of type COLOR).
COLOR_INCLUDE_COLOR_ONLY | Color item has no As Is and Default in its flyout. |
COLOR_INCLUDE_AS_IS | Color item has As Is in its flyout. |
COLOR_INCLUDE_DEFAULT | Color item has Default in its flyout. |
COLOR_INCLUDE_ALL | Color item has both As Is and Default in its flyout. This is the default option. |
Flags for item alignment.
REAL | Not yet implemented (Real). |
LEFT | Left justified. |
RIGHT | Right justified. |
CENTER | Center justified (horizontal). |
TOP | Top justified. |
BOTTOM | Bottom justified. |
MIDDLE | Middle justified (vertical). |
Flags for item types.
TEXT | Item accepts a text string via a text field. |
FLOAT | Item accepts a floating-point number via a text field. |
INT | Item accepts an integer via a text field. |
LIST | Item accepts input from a list. |
BOOL | Item is a boolean; displayed as an icon. |
ICON | Item displays an icon and does not accept input. |
COLOR | Item accepts color selection via a color flyout. |
Flags for real formats.
GENERAL | General. |
SCIENTIFIC | Scientific. |
AUTOMATIC | Automatic. |
Flags for AFX tree table options.
AFXTREETABLE_COLUMN_RESIZABLE | Allow users to resize columns. |
AFXTREETABLE_NO_COLUMN_SELECT | Disallow column selections (selecting a header/footer item in a column selects the whole column). |
AFXTREETABLE_ROW_MODE | Selecting any item in a row selects the whole row. |
AFXTREETABLE_EXTENDED_SELECT | Use extended selection mode that allows multiple items to be selected and allows users to drag-select a range of items. |
AFXTREETABLE_SINGLE_SELECT | Use single selection mode that allows up to one item to be selected. |
AFXTREETABLE_BROWSE_SELECT | Use browse selection mode that enforces one single item to be selected at all times. |
AFXTREETABLE_CHECK_BOXES | Show item check boxes. |
AFXTREETABLE_PROPAGATE_CHECKS | Propagate checked state to children and parents. |
AFXTREETABLE_NORMAL | Default table options--use extended selection mode, columns are resizable, and layout fills both X and Y directions. |
Flags for the table's list (for items of type LIST).
AFXTREETABLE_LIST_PRESELECT_NONE | Do not pre-select any list item. |