MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / IsItemEnabled

Function IsItemEnabled

Libraries/PropertyGrid/PropertyTree.h:379–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

IsEnabledMethod · 0.80
GetItemDataFunction · 0.70

Tested by

no test coverage detected