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

Function SetItemEnabled

Libraries/PropertyGrid/PropertyGrid.h:459–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457 }
458
459 void SetItemEnabled(HPROPERTY hProp, BOOL bEnable)
460 {
461 ATLASSERT(::IsWindow(m_hWnd));
462 ATLASSERT(hProp);
463 if( hProp == NULL ) return;
464 hProp->SetEnabled(bEnable);
465 // Repaint item...
466 int nItem = -1, nSubItem = -1;
467 if( !FindProperty(hProp, nItem, nSubItem) ) return;
468 _InvalidateItem(nItem, nSubItem);
469 }
470
471 void Navigate(UINT wCode)
472 {

Callers

nothing calls this directly

Calls 3

SetEnabledMethod · 0.80
FindPropertyFunction · 0.70
_InvalidateItemFunction · 0.70

Tested by

no test coverage detected