Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Treeview Control

Treeview Control

Scheduled Pinned Locked Moved Visual Basic
helpquestioncsharpdata-structures
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sumudu
    wrote on last edited by
    #1

    I'm working on a VB.net app which requires drag and drop between a ListView control and a Treeview control. The problem is that the selected node in the treeview control doesn't seem to change when I'm hovering over them with the item dragged. I can't even seem to make this happen programmatically since I can't find a way to get the tree node that the cursor is hovering over (no e.Node in mouseover event :( How can I make this work? Also, I can't select a nodes by right clicking on them. I need this to display a popup menu specific to each node. :(( Please please help. :rose:

    N 1 Reply Last reply
    0
    • S sumudu

      I'm working on a VB.net app which requires drag and drop between a ListView control and a Treeview control. The problem is that the selected node in the treeview control doesn't seem to change when I'm hovering over them with the item dragged. I can't even seem to make this happen programmatically since I can't find a way to get the tree node that the cursor is hovering over (no e.Node in mouseover event :( How can I make this work? Also, I can't select a nodes by right clicking on them. I need this to display a popup menu specific to each node. :(( Please please help. :rose:

      N Offline
      N Offline
      Nick Seng
      wrote on last edited by
      #2

      Sorry, can't help you there. I'm familiar with these controls in vb6 but haven't reach that far it .net . Have you tried looking in MSDN? Notorious SMC


      The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning Mark Twain
      Get your facts first, and then you can distort them as much as you please Mark Twain

      S 1 Reply Last reply
      0
      • N Nick Seng

        Sorry, can't help you there. I'm familiar with these controls in vb6 but haven't reach that far it .net . Have you tried looking in MSDN? Notorious SMC


        The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning Mark Twain
        Get your facts first, and then you can distort them as much as you please Mark Twain

        S Offline
        S Offline
        sumudu
        wrote on last edited by
        #3

        I looked in MSDN and found the member function GetNodeAt(Drawing.Point) of the treeview control. Sorry to have bugged you people. :-) Should have looked there first. :-O

        N 1 Reply Last reply
        0
        • S sumudu

          I looked in MSDN and found the member function GetNodeAt(Drawing.Point) of the treeview control. Sorry to have bugged you people. :-) Should have looked there first. :-O

          N Offline
          N Offline
          Nick Seng
          wrote on last edited by
          #4

          No Prob, man! Glad that you found a solution Notorious SMC


          The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning Mark Twain
          Get your facts first, and then you can distort them as much as you please Mark Twain

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups