MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / GetChildItems

Method GetChildItems

WinArk/TreeHelper.cpp:67–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67std::map<CString, HTREEITEM> TreeHelper::GetChildItems(HTREEITEM hItem) {
68 std::map<CString, HTREEITEM> items;
69 hItem = _tv.GetChildItem(hItem);
70 while (hItem) {
71 CString text;
72 _tv.GetItemText(hItem, text);
73 items.insert({ text,hItem });
74 hItem = _tv.GetNextSiblingItem(hItem);
75 }
76 return items;
77}

Callers 1

RefreshFullMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected