MCPcopy Create free account
hub / github.com/cinience/RedisStudio / FindSubControlByClass

Method FindSubControlByClass

DuiLib/Core/UIManager.cpp:2077–2083  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2075}
2076
2077CControlUI* CPaintManagerUI::FindSubControlByClass(CControlUI* pParent, LPCTSTR pstrClass, int iIndex)
2078{
2079 if( pParent == NULL ) pParent = GetRoot();
2080 ASSERT(pParent);
2081 m_aFoundControls.Resize(iIndex + 1);
2082 return pParent->FindControl(__FindControlFromClass, (LPVOID)pstrClass, UIFIND_ALL);
2083}
2084
2085CStdPtrArray* CPaintManagerUI::FindSubControlsByClass(CControlUI* pParent, LPCTSTR pstrClass)
2086{

Callers

nothing calls this directly

Calls 2

ResizeMethod · 0.45
FindControlMethod · 0.45

Tested by

no test coverage detected