UIX_TreeStyleFlags Enumeration

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
{{ToReview}}
 
{{ToReview}}
  
Specifies the ...
+
Specifies flags for [[PXV:IUIX_Tree|Tree control]].
  
 
== Syntax ==
 
== Syntax ==
Line 22: Line 22:
 
     UIX_TreeStyle_ThreeChecks            = 131072,
 
     UIX_TreeStyle_ThreeChecks            = 131072,
 
     UIX_TreeStyle_SmallIndent            = 262144,
 
     UIX_TreeStyle_SmallIndent            = 262144,
 +
    UIX_TreeStyle_HideRootsCheckBoxes    = 524288,
 +
    UIX_TreeStyle_NoInputFocus          = 1048576,
 +
    UIX_TreeStyle_ShadeRootIconsBkgnd    = 2097152,
 
};
 
};
 
</pre>
 
</pre>
Line 27: Line 30:
 
== 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 48:
 
:The ...
 
:The ...
 
;UIX_TreeStyle_ThreeChecks
 
;UIX_TreeStyle_ThreeChecks
 +
:Allows three-state check boxes for items. Requires flag <tt>UIX_TreeStyle_ShowCheckBoxes</tt> to be set as well.
 +
;UIX_TreeStyle_SmallIndent
 
:The ...
 
:The ...
;UIX_TreeStyle_SmallIndent
+
;UIX_TreeStyle_HideRootsCheckBoxes
 +
:The ...
 +
;UIX_TreeStyle_NoInputFocus
 +
:The ...
 +
;UIX_TreeStyle_ShadeRootIconsBkgnd
 
:The ...
 
:The ...

Latest revision as of 00:17, 23 July 2018


Specifies flags for Tree control.

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,
    UIX_TreeStyle_HideRootsCheckBoxes    = 524288,
    UIX_TreeStyle_NoInputFocus           = 1048576,
    UIX_TreeStyle_ShadeRootIconsBkgnd    = 2097152,
};

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 ...
UIX_TreeStyle_HideRootsCheckBoxes
The ...
UIX_TreeStyle_NoInputFocus
The ...
UIX_TreeStyle_ShadeRootIconsBkgnd
The ...