Click to See Complete Forum and Search --> : Determine if an HTREEITEM is valid...


Jaime Wyant
May 17th, 1999, 02:44 PM
How can I determine if an HTREEITEM is a valid handle to a CTreeCtrl node?

Thanks,
Jaime

BrianOG
May 18th, 1999, 02:30 AM
You can try using CTreeCtrl::GetItem where you specify the TVIF_HANDLE flag in the mask and pass in your HTREEITEM.