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. C#
  4. TreeView /Spy++/ Handle

TreeView /Spy++/ Handle

Scheduled Pinned Locked Moved C#
data-structurestutorialquestion
3 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.
  • A Offline
    A Offline
    Abhishek Karnik
    wrote on last edited by
    #1

    I have used Spy++ to obtain the handle of a Window Panel and TreeView. I now want to use this handle to grab the tree. I don't understand how to do this ?? Any suggestions. Once I grab the tree I want to be able to store this tree in a file. Could someone please give me some direction here Abhishek Karnik

    M 1 Reply Last reply
    0
    • A Abhishek Karnik

      I have used Spy++ to obtain the handle of a Window Panel and TreeView. I now want to use this handle to grab the tree. I don't understand how to do this ?? Any suggestions. Once I grab the tree I want to be able to store this tree in a file. Could someone please give me some direction here Abhishek Karnik

      M Offline
      M Offline
      mav northwind
      wrote on last edited by
      #2

      You can't create a .NET TreeView instance from a handle to a window. One way would be to send windows messages to this window handle to get information about the tree. Search MSDN for treeview messages, they usually start with TVM_... But nevertheless, I think your question doesn't belong to the C# forum. Try the Visual C++ forum instead. Regards, mav

      A 1 Reply Last reply
      0
      • M mav northwind

        You can't create a .NET TreeView instance from a handle to a window. One way would be to send windows messages to this window handle to get information about the tree. Search MSDN for treeview messages, they usually start with TVM_... But nevertheless, I think your question doesn't belong to the C# forum. Try the Visual C++ forum instead. Regards, mav

        A Offline
        A Offline
        Abhishek Karnik
        wrote on last edited by
        #3

        Hey, Thanx ..lemme give it a shot there. Regards, Abhishek

        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