UIX_TreeStyleFlags Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:UIX_TreeStyleFlags Enumeration}}
 
{{#customTitle:UIX_TreeStyleFlags Enumeration}}
{{#parentPage:PXV:UIX_Enumerations|UIX_TreeStyleFlags Enumeration|enum}}
+
{{#parentPage:PXV:UIX_Enumerations|UIX_TreeStyleFlags|enum}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{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
:The ...
+
:Enables check boxes for items in a tree control.
 
;UIX_TreeStyle_ExternalCheckStates
 
;UIX_TreeStyle_ExternalCheckStates
:The ...
+
: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 01: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 ...