| 377 | } |
| 378 | |
| 379 | BOOL IsItemEnabled(HTREEITEM hItem) const |
| 380 | { |
| 381 | ATLASSERT(::IsWindow(m_hWnd)); |
| 382 | IProperty* prop = reinterpret_cast<IProperty*>(TBase::GetItemData(hItem)); |
| 383 | ATLASSERT(prop); |
| 384 | if( prop == NULL ) return FALSE; |
| 385 | return (DWORD_PTR) prop->IsEnabled(); |
| 386 | } |
| 387 | |
| 388 | void EnableItem(HTREEITEM hItem, BOOL bState) |
| 389 | { |
nothing calls this directly
no test coverage detected