2012年(158)
分类: C/C++
2012-11-23 15:27:25
网友评论2012-11-23 15:37:58
周星星
HTREEITEM TreeView_GetLastEnumItem( HWND hTree, HTREEITEM hCurrent )
{
HTREEITEM hItem = hCurrent;
for( HTREEITEM hChildItem=hItem; hChildItem=TreeView_GetChild(hTree,hChildItem), hChildItem!=NULL; hItem=hChildItem )
{
for( HTREEITEM hNextChildItem=hChildItem; hNextChildItem=TreeView_GetNextSibling(hTree,hNextChildItem), hNextChildItem!=NULL; hChildItem=hNextChildItem );