TREEVIEW_CUSTOMGUISETTINGS

Detailed Description

Macros

#define TREEVIEW_BORDER
 
#define TREEVIEW_OUTSIDE_DROP
 
#define TREEVIEW_HIDE_LINES
 
#define TREEVIEW_CTRL_DRAG
 
#define TREEVIEW_NO_MULTISELECT
 
#define TREEVIEW_HAS_HEADER
 
#define TREEVIEW_RESIZE_HEADER
 
#define TREEVIEW_MOVE_COLUMN
 
#define TREEVIEW_FIXED_LAYOUT
 
#define TREEVIEW_NOAUTOCOLUMNS
 
#define TREEVIEW_NO_OPEN_CTRLCLK
 
#define TREEVIEW_ALT_DRAG
 
#define TREEVIEW_NO_BACK_DELETE
 
#define TREEVIEW_NO_DELETE
 
#define TREEVIEW_ALTERNATE_BG
 
#define TREEVIEW_CURSORKEYS
 
#define TREEVIEW_NOENTERRENAME
 
#define TREEVIEW_NO_VERTICALSCROLL
 
#define TREEVIEW_ADDROW
 
#define TREEVIEW_RESIZABLE
 
#define TREEVIEW_CUSTOM_BG_COLOR
 
#define TREEVIEW_VERTICAL_SPACE
 
#define TREEVIEW_HIDE_HIERARCHY_LINES
 
#define TREEVIEW_NO_ENTER_FORWARD
 
#define TREEVIEW_DRAG_START_REQUIRES_MOVEMENT
 

Macro Definition Documentation

◆ TREEVIEW_BORDER

#define TREEVIEW_BORDER

Bool Set to true to show an outer tree border.

◆ TREEVIEW_OUTSIDE_DROP

#define TREEVIEW_OUTSIDE_DROP

Bool Set to true if an object may be dropped under all the objects in the tree view.

◆ TREEVIEW_HIDE_LINES

#define TREEVIEW_HIDE_LINES

Bool Set to true if no lines should be drawn (flat list, no hierarchy indents used).

◆ TREEVIEW_CTRL_DRAG

#define TREEVIEW_CTRL_DRAG

Bool Set to true if item may be duplicated by Ctrl + Drag.

◆ TREEVIEW_NO_MULTISELECT

#define TREEVIEW_NO_MULTISELECT

Bool Set to true if no multiple selection is allowed.

◆ TREEVIEW_HAS_HEADER

#define TREEVIEW_HAS_HEADER

Bool Set to true if the tree view may have a header line.

◆ TREEVIEW_RESIZE_HEADER

#define TREEVIEW_RESIZE_HEADER

Bool Set to true if the column width can be changed by the user.

◆ TREEVIEW_MOVE_COLUMN

#define TREEVIEW_MOVE_COLUMN

Bool Set to true if the user can move the columns.

◆ TREEVIEW_FIXED_LAYOUT

#define TREEVIEW_FIXED_LAYOUT

Bool Set to true if all lines have the same height.

◆ TREEVIEW_NOAUTOCOLUMNS

#define TREEVIEW_NOAUTOCOLUMNS

Bool Set to true if only the first line is asked for the columns width, resulting in a huge speedup.

◆ TREEVIEW_NO_OPEN_CTRLCLK

#define TREEVIEW_NO_OPEN_CTRLCLK

Bool Set to true if it is not allowed to open the complete tree with Ctrl + Click.

◆ TREEVIEW_ALT_DRAG

#define TREEVIEW_ALT_DRAG

Bool Set to true if Alt should be used instead of Ctrl for drag and drop; implies item may be duplicated by Alt + Drag.

◆ TREEVIEW_NO_BACK_DELETE

#define TREEVIEW_NO_BACK_DELETE

Bool Set to true to disable "delete pressed" messages if backspace was hit.

◆ TREEVIEW_NO_DELETE

#define TREEVIEW_NO_DELETE

Bool Set to true to disable Delete Message Callback completely for backspace and delete.

◆ TREEVIEW_ALTERNATE_BG

#define TREEVIEW_ALTERNATE_BG

Bool Set to true to alternate background color per line.

◆ TREEVIEW_CURSORKEYS

#define TREEVIEW_CURSORKEYS

Bool Set to true if cursor keys should be processed. Note: The focus item has to be set to nullptr if it is deleted and this flag is set.

◆ TREEVIEW_NOENTERRENAME

#define TREEVIEW_NOENTERRENAME

Bool Set to true to suppress the rename popup when the user presses enter.

◆ TREEVIEW_NO_VERTICALSCROLL

#define TREEVIEW_NO_VERTICALSCROLL

Bool Set to true to disable vertical scrolling and show the full list.

◆ TREEVIEW_ADDROW

#define TREEVIEW_ADDROW

Bool Set to true to show an add new column row at the bottom of the list.

◆ TREEVIEW_RESIZABLE

#define TREEVIEW_RESIZABLE

Bool Set to true to make treeview resizable by dragging the bottom edge.

◆ TREEVIEW_CUSTOM_BG_COLOR

#define TREEVIEW_CUSTOM_BG_COLOR

Custom background color. Can be an Int32 color ID (.

See also
c4d_colors.h) or a Vector color in range [0.0, 1.0]. If unset, default application background color will be used. Notes: Only is applied if TREEVIEW_ALTERNATE_BG is false; TreeViewFunctions::GetBackgroundColor() overrides it.
Since
R23

◆ TREEVIEW_VERTICAL_SPACE

#define TREEVIEW_VERTICAL_SPACE

Int32 Vertical space between lines in pixels.

◆ TREEVIEW_HIDE_HIERARCHY_LINES

#define TREEVIEW_HIDE_HIERARCHY_LINES

Bool Set to true to hide the hierarchical lines. Note: only affects visibility of the lines, the indentation levels and fold/unfold symbols visibility remains unchanged.

◆ TREEVIEW_NO_ENTER_FORWARD

#define TREEVIEW_NO_ENTER_FORWARD

Bool If TREEVIEW_NOENTERRENAME is set to true, this setting can be set to true to avoid forwarding the Enter key message to super/parent classes, for example to avoid losing the tree focus when Enter key is pressed. Note that enter forwarding might be needed in some situations, e.g. when the dialog owning the tree has Ok/Cancel buttons and Enter must do the same action as pressing the OK button.

Since
2023.100

◆ TREEVIEW_DRAG_START_REQUIRES_MOVEMENT

#define TREEVIEW_DRAG_START_REQUIRES_MOVEMENT

Bool Set to true if drag & drop events should happen only when mouse has really moved.

Since
2023.200