Questions tagged [treecontrol]

49 questions
0
votes
0 answers

How to detect "Space" key in treecontrol in AngularJS

I have a problem with treecontrol from angular-ui for AngularJS in version 1.5. Treecontrol has directive called on-selection which detects "Enter" or mouse click and send option from treecontrol to input. I want the same behaviour for "Space" key,…
Celdur
  • 125
  • 2
  • 13
0
votes
2 answers

How does MFC's CTreeCtrl automatically displays a tool tip, containing the title of the item, if the entire title is not currently visible?

Background http://msdn.microsoft.com/en-us/library/b17bescz(v=VS.90).aspx "The TVS_NOTOOLTIPS style disables the automatic tool tip feature of tree view controls. This feature automatically displays a tool tip, containing the title of the item under…
jmc
  • 1
  • 1
0
votes
2 answers

get lparam value form the htreeitem c++

I created a dialog with a tree control which fetches data on to a list control when clicked on any particular node of the treecontrol. This is how i tried inserting nodes. CString *sCommonAppkey = new CString(_szApp + sIsPath); HTREEITEM hrCommon =…
0
votes
1 answer

How to use ivhtree bread first search api

i am trying to use ivhTreeviewBfs (https://github.com/iVantage/angular-ivh-treeview#ivhtreeviewbfstree-opts-cb) ivhTreeviewBfs(myTree, function(node) { console.log(node) }) however this only prints the first level of nodes. How can i traverse…
josh_boaz
  • 1,963
  • 7
  • 32
  • 69
0
votes
1 answer

Reliable HTML/Ajax control to manipulate tree structures?

Can someone recommend a reliable HTML tree control that also supports tree manipulation? I need it for a backend and want to move, reorder, delete, add and rename nodes. Right now I use a nested set model in my database to store the tree structure,…
Daniel
  • 3
  • 1
0
votes
1 answer

CTreeCtrl disable drag and drop on specific nodes

I there a way to disable drag and drop on specific nodes of a CTreeCtrl? I would like to prevent dragging a node to a child of that same node within the same tree, and also to prevent dragging a node to a listview that is linked to the same node or…
Walter Zydhek
  • 293
  • 4
  • 10
0
votes
2 answers

item size not adjusted after font change in CTreeCtrl

I change the font of tree items in CTreeCtrl with the following code: void CTreeCtrlEx::OnNMCustomdraw(NMHDR *pNMHDR, LRESULT *pResult) { LPNMTVCUSTOMDRAW pNMCD = reinterpret_cast(pNMHDR); *pResult = 0; …
Greg
  • 1,227
  • 5
  • 23
  • 52
0
votes
2 answers

Add item to tree control

I have an object of the my own class and CTreeCtrl. I have opportunity add items to CTreeCtrl like hTree = treeObject->InsertItem(L"All object", TVI_ROOT); This code add items with text. Have i opportunity to add items with consist pointer of my…
0
votes
3 answers

wxPython: VirtualTreeListCtrl with millions of items

I would like to add 1,000,000+ entries to the root node of a TreeListCtrl. Therefore I would like to make it "virtual", i.e. work just like a virtual ListCtrl so that it's still fast and I can easily scroll around due to the currently-displayed…
Darryl
  • 1
0
votes
2 answers

How to change the selection from one item to the selected item in tree control?

I had a tree control which is being populated some values.And In this few tree nodes consists of check boxes whereas few doesn't. My problem is Initially when the tree is enumerated the default selection is on the first root node and this root node…
Siva
  • 1,281
  • 2
  • 19
  • 41
0
votes
1 answer

MFC CTreeCtrl max visible item text length

I have an application that outputs large amounts of text data to an MFC tree control. When I call SetItemText() with a long string (larger then 1000+ char) only the first ~250 chars are displayed in the control. But when I call GetItemText() on the…
Steven Smethurst
  • 4,495
  • 15
  • 55
  • 92
0
votes
1 answer

Updating treectrl in wxPython

How can I alter or add items in a treectrl once it has been displayed. I've created a simple example, how would I add an extra item (E.g. Bananas) after init . Changing it before init exits works but I want to be able to update the treectrl after…
0
votes
2 answers

wxpython wx.TreeCtrl, which subitem of the tree fires the event wx.EVT_TREE_ITEM_ACTIVATED?

I'm making a tree ctrl and need to figure out where the double click came from. Code: def _initElementsOfTreePanel(self, panel): tree = wx.TreeCtrl(panel, -1, wx.Point(0, 0), wx.DefaultSize, wx.NO_BORDER | wx.TR_DEFAULT_STYLE) root =…
vlad-ardelean
  • 7,480
  • 15
  • 80
  • 124
0
votes
1 answer

How Do I properly Use Check Boxes with wx.lib.agw.customtreectrl.CustomTreeCtrl Styles?

I wanted to add check boxes to a multi selection tree control that I was using, and I thought that I could do this with... import wx, wx.lib.agw.customtreectrl app = wx.App(False) fr = wx.Frame(None) myModule = wx.lib.agw.customtreectrl myStyle…
womesiete
  • 341
  • 1
  • 4
  • 13
0
votes
1 answer

TreeCtrl wxPython selectedImage

Hi I want to put a selected image an image in the treeItemsCtrl but i cant find how i tried fileopen = wx.Image("../iconos/folder-cerrado.png", wx.BITMAP_TYPE_PNG).Scale(16,16).ConvertToBitmap() fileClose =…
Jonas Blas
  • 50
  • 6