CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    78

    Treeview node in VC++

    Once you create a node

  2. #2
    Join Date
    May 1999
    Posts
    116

    Re: Treeview node in VC++

    Use the insert method that accepts a TVINSERTSTRUCT. Then in the TVITEM of this struct add TVIF_CHILDREN to the mask, and for the cChildren member specify 1. (Or you can specify I_CHILDRENCALLBACK and in the OnDispInfo, when requested for the number or children return a non-zero number).

    Hope this helps.


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

Featured