Questions tagged [treecontrol]

49 questions
9
votes
3 answers

Warning C26454: Arithmetic overflow: '-' operation produces a negative unsigned result at compile time (io.5)

Code analysis: ON_NOTIFY(TCN_SELCHANGE, IDC_TAB_HISTORY_TYPE, &CAssignHistoryDlg::OnTcnSelchangeTabHistoryType) Warning C26454: Arithmetic overflow: '-' operation produces a negative unsigned result at compile time (io.5). The definition of…
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
7
votes
5 answers

Is there a tree control for the iphone?

Is there a Tree control available for the iphone? I need to represent a tree with sub nodes in a tree, how can I do it? Thanks
Meir
  • 994
  • 12
  • 25
4
votes
2 answers

wxPython TreeCtrl without showing root while still showing arrows

I am making a python tree visualizer using wxPython. It would be used like so: show_tree([ 'A node with no children', ('A node with children', 'A child node', ('A child node with children', 'Another child')) ]) It worked fine but it shows a root…
None
  • 3,875
  • 7
  • 43
  • 67
3
votes
2 answers

MFC How to make ctreectrl virtual?

My application is displaying a Hugh amount of files system entries held in memory using a ctreectrl , adding all the items takes ~20seconds even when using SetRedraw(False) , so how to make a completely virtual(breadth,depth) ctreectrl & how to…
M.U
  • 381
  • 3
  • 10
3
votes
1 answer

Add icon for specific tree items in Tree(CTreeCtrl) in MFC

Can we add icons for specific tree items? I am adding items with icon using following function: HTREEITEM InsertItem(LPCTSTR lpszItem,int nImage,int nSelectedImage,HTREEITEM hParent = TVI_ROOT,HTREEITEM hInsertAfter = TVI_LAST); To skip icon for an…
Dipti
  • 106
  • 1
  • 8
2
votes
1 answer

CTreeCtrl TVN_SELCHANGING doesn't work if TVN_EX_MULTISELECT has been set

I use CTreeCtrl and I want to catch TVN_SELCHANGING event. If I use one selection, TVN_SELCHANGING is run. But if I set TVS_EX_MULTISELECT ex_style, TVN_SELCHANGING is not processed. What is the reason? What to do with it?
Michal Hadraba
  • 347
  • 1
  • 11
2
votes
1 answer

MFC — spread a control to left, right and bottom

There is a CTreeCtrl in an arbitrary position on a fixed size CDialog. Could you please advice how to position this CTreeCtrl in OnInitDialog so that its left, right and bottom sides were touched to the dialog sides, and there was an indent N on…
ViH
  • 419
  • 2
  • 14
2
votes
2 answers

Django:Is there a way to use a tree control in my template‏

Hi i wanted to know is there a way through which i could use a tree control in my template I wanted to add something like Student |_Name |_Address |_Contact No I think you guys get the picture...How can i add something like that…
Murphy316
  • 766
  • 3
  • 13
  • 29
2
votes
1 answer

wxPython TreeCtrl: Get an treeitem's data by index

How do I get a tree item's data by index of the tree? I'm currently writing a GUI with wxPython (using Python 2.7). This GUI contains a CustomTreeCtrl that is build as follows: # Create Tree control widget_tree = CustomTreeCtrl(parent=self,…
Jesper K.
  • 63
  • 9
2
votes
1 answer

Outlook bar auto size to tree control

I created an Outlook bar with tree controls and would like to have it auto size to always fully display the text of the tree control. Ideally the border in the picture would move so that "Healthcare Merchandising" is fully visible. newDimbar is a…
2
votes
1 answer

Can't catch TVN_SELCHANGED

I have a CTreeCtrl in a dialog and catch TVN_SELCHANGED messages, but execution doesn't go into handlers. What can be wrong? My code: BEGIN_MESSAGE_MAP(CMaterParamExtDlg, CDialog) ON_NOTIFY(TVN_ITEMCHANGING, IDC_MATERIAL_PROP_TREE,…
user1260953
  • 35
  • 1
  • 4
1
vote
3 answers

Add/Remove node to wxDataViewCtrl

I'm developing an application using wxWidgets v3.2.1 and using wxDataViewModel and wxDataViewCtrl to display a data model in tree fashion with multiple columns. I'm following the dataview example from wxWidget samples. My application doesn't need a…
Aamir
  • 1,974
  • 1
  • 14
  • 18
1
vote
1 answer

wxpython - Using treectrl to load local html files into a panel

I'm trying to make a help menu in wxPython that has a tree control on the left and an html viewer on the right; the treecontrol acts as a sort of navigation menu, and on clicking an item in the treecontrol, the appropriate local .html file should…
W. MacTurk
  • 130
  • 1
  • 15
1
vote
1 answer

Angular Tree Control not working perperly

I am using https://wix.github.io/angular-tree-control/#multi-selection to work on tree structure example.I am not getting the expected result in a proper format.Below is the code and also attached plunkr to it.
GrailsLearner
  • 485
  • 1
  • 11
  • 23
1
vote
0 answers

How to add specific files to a wx.TreeCtrl

I am trying to re-create part of a directory tree by using wx.TreeCtrl. I can add all directories and the specific files I am looking for. Now, I would like to not show the directories that do not contain the specific files. For example, if my…
Marc
  • 17
  • 7
1
2 3 4