| 213 | } |
| 214 | |
| 215 | auto TreeViewCtrl::GetNodeKey(HTREEITEM hti) const -> std::wstring |
| 216 | { |
| 217 | std::wstring retVal = GetNodeName(hti, true); |
| 218 | |
| 219 | auto pos = retVal.find(L" : "); |
| 220 | if (pos != std::wstring::npos) |
| 221 | { |
| 222 | retVal = retVal.substr(0, pos); |
| 223 | } |
| 224 | return retVal; |
| 225 | } |
| 226 | |
| 227 | auto TreeViewCtrl::GetNodeValue(HTREEITEM hti) const -> std::wstring |
| 228 | { |
no outgoing calls
no test coverage detected