Results 1 to 6 of 6

Thread: TreeView Constants

  1. #1
    Guest
    I'm trying to read an external TreeView, but I can't find the constants anywhere. They all begin with TVM_ and they aren't in the Win32API text.

    If anyone knows how to read external TreeViews or knows the constant values to this set of constants, please let me know.

    Thanks,
    Jordan

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Check out http://www.allapi.net and download the API-Toolshed, it has a lot of constants for the TVM.

    Have fun
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3
    Guest
    Thanks for the link. I noticed that there are many different "macros" for the TreeView control. Does anyone know how to access these in Visual Basic?

  4. #4
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    macros?
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  5. #5
    Guest
    TreeView macros... they're shown in the MSDN library. Here's a link to the TreeView_GetCount macro.. which should return the number of items in a TreeView by passing the hWnd. Click show toc at the top to view the entire list. It would be great if these could be used in Visual Basic!!

    http://msdn.microsoft.com/library/ps...w_GetCount.htm

  6. #6
    Guest
    Also it would help if anyone knows how to get items from a TreeView control. Anybody? Anybody?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width