Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
给定 CTreeCtrl 中的一个节点,我想确定该节点是否有子节点以及它们是否已展开。有没有办法做到这一点?
CTreeCtrl::ItemHasChildren
检索项目的展开状态:CTreeCtrl::GetItemState与 nStateMask 设置为 TVIS_EXPANDED