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

Function GetProperty

Libraries/PropertyGrid/PropertyGrid.h:421–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419 }
420
421 IProperty* GetProperty(int iRow, int iCol) const
422 {
423 ATLASSERT(iCol >= 0 && iCol < m_nColumns);
424 ATLASSERT(iRow >= 0 && iRow < TBase::GetItemCount());
425 if( iCol < 0 || iCol >= m_nColumns ) return NULL;
426 if( iRow < 0 || iRow >= TBase::GetItemCount() ) return NULL;
427 IProperty** props = reinterpret_cast<IProperty**>(TBase::GetItemData(iRow));
428 ATLASSERT(props);
429 if( props == NULL ) return NULL;
430 IProperty* prop = props[iCol];
431 ATLASSERT(prop); // If you hit this assert, most likely you forgot to add properties to all subitems.
432 // Use read-only properties to fill out with dummies.
433 return prop;
434 }
435
436 LPARAM GetItemData(HPROPERTY hProp) const
437 {

Callers 9

GetItemTextFunction · 0.70
_DestroyInplaceWindowFunction · 0.70
OnLButtonDownFunction · 0.70
OnKeyDownFunction · 0.70
OnCharFunction · 0.70
OnSelChangedFunction · 0.70
OnNavigateFunction · 0.70
OnUpdatePropertyFunction · 0.70
DrawItemFunction · 0.70

Calls 2

GetItemCountFunction · 0.70
GetItemDataFunction · 0.70

Tested by

no test coverage detected