Click to See Complete Forum and Search --> : Treeview node in VC++


Saeed R
May 2nd, 1999, 10:46 PM
Once you create a node

BrianOG
May 4th, 1999, 09:42 AM
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.