Expanding items in CTreeCtrl
C / C++ / MFC
5
Posts
4
Posters
0
Views
1
Watching
-
you can do it by calling the function CTreeCtrl::Expand function like ctrl.Expand( hCurrentParent,TVE_EXPAND ); if you have multiple items at the most outer level , you need to call Exapand function for each of the items. you can use GetNextItem in CTreeCtrl for getting items. http://msdn.microsoft.com/en-US/library/a1azz3kt(v=VS.80).aspx[^]
If u can Dream... U can do it
-
Hi, Refer for BOOL Expand( HTREEITEM hItem, UINT nCode ); Method in MSDN. You can achieve that. Thanks, Uday.