UIX_TreeStyleFlags Enumeration

From Tracker Software PDF SDK
Jump to: navigation, search
Line 27: Line 27:
 
== Constants ==
 
== Constants ==
 
;UIX_TreeStyle_MultSel
 
;UIX_TreeStyle_MultSel
:The ...
+
:Allows to have multiply items selected.
 
;UIX_TreeStyle_UpdateAllOnResize
 
;UIX_TreeStyle_UpdateAllOnResize
 
:The ...
 
:The ...
 
;UIX_TreeStyle_KeepSel
 
;UIX_TreeStyle_KeepSel
:The ...
+
:When set, selected items will be highlighted even when the tree control has no input focus. In that case items will be highlighted with color used for inactive items.
 
;UIX_TreeStyle_ShowCheckBoxes
 
;UIX_TreeStyle_ShowCheckBoxes
 
:Enables check boxes for items in a tree control.
 
:Enables check boxes for items in a tree control.
 
;UIX_TreeStyle_ExternalCheckStates
 
;UIX_TreeStyle_ExternalCheckStates
:If set, tree control will use callback functions to get/set state of items' check boxes. Requires flag <tt>UIX_TreeStyle_ShowCheckBoxes</tt> to be set as well.
+
:If set, tree control will use callback functions [[PXV:IUIX_TreeCallbacks_Tree_OnGetItemCheckState|OnGetItemCheckState]] and [[PXV:IUIX_TreeCallbacks_Tree_OnSetItemCheckState|OnSetItemCheckState]] to get/set state of items' check boxes. Requires flag <tt>UIX_TreeStyle_ShowCheckBoxes</tt> to be set as well.
 
;UIX_TreeStyle_AlwaysShowRootsToggles
 
;UIX_TreeStyle_AlwaysShowRootsToggles
 
:The ...
 
:The ...
 
;UIX_TreeStyle_FullRowSel
 
;UIX_TreeStyle_FullRowSel
:The ...
+
:Enables full row selection in the tree control. The entire row of the selected item is highlighted.
 
;UIX_TreeStyle_ExternalSelection
 
;UIX_TreeStyle_ExternalSelection
 
:The ...
 
:The ...
Line 45: Line 45:
 
:The ...
 
:The ...
 
;UIX_TreeStyle_ThreeChecks
 
;UIX_TreeStyle_ThreeChecks
:The ...
+
:Allows three-state check boxes for items. Requires flag <tt>UIX_TreeStyle_ShowCheckBoxes</tt> to be set as well.
 
;UIX_TreeStyle_SmallIndent
 
;UIX_TreeStyle_SmallIndent
 
:The ...
 
:The ...

Revision as of 14:52, 24 November 2015


Specifies the ...

Syntax

enum UIX_TreeStyleFlags
{
    UIX_TreeStyle_MultSel                = 256,
    UIX_TreeStyle_UpdateAllOnResize      = 512,
    UIX_TreeStyle_KeepSel                = 1024,
    UIX_TreeStyle_ShowCheckBoxes         = 2048,
    UIX_TreeStyle_ExternalCheckStates    = 4096,
    UIX_TreeStyle_AlwaysShowRootsToggles = 8192,
    UIX_TreeStyle_FullRowSel             = 16384,
    UIX_TreeStyle_ExternalSelection      = 32768,
    UIX_TreeStyle_GridLines              = 65536,
    UIX_TreeStyle_ThreeChecks            = 131072,
    UIX_TreeStyle_SmallIndent            = 262144,
};

Constants

UIX_TreeStyle_MultSel
Allows to have multiply items selected.
UIX_TreeStyle_UpdateAllOnResize
The ...
UIX_TreeStyle_KeepSel
When set, selected items will be highlighted even when the tree control has no input focus. In that case items will be highlighted with color used for inactive items.
UIX_TreeStyle_ShowCheckBoxes
Enables check boxes for items in a tree control.
UIX_TreeStyle_ExternalCheckStates
If set, tree control will use callback functions OnGetItemCheckState and OnSetItemCheckState to get/set state of items' check boxes. Requires flag UIX_TreeStyle_ShowCheckBoxes to be set as well.
UIX_TreeStyle_AlwaysShowRootsToggles
The ...
UIX_TreeStyle_FullRowSel
Enables full row selection in the tree control. The entire row of the selected item is highlighted.
UIX_TreeStyle_ExternalSelection
The ...
UIX_TreeStyle_GridLines
The ...
UIX_TreeStyle_ThreeChecks
Allows three-state check boxes for items. Requires flag UIX_TreeStyle_ShowCheckBoxes to be set as well.
UIX_TreeStyle_SmallIndent
The ...