MCPcopy Create free account
hub / github.com/SOUI2/soui / FindString

Method FindString

SOUI/src/control/SListbox.cpp:230–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228
229
230int SListBox::FindString(int iFindAfter,LPCTSTR pszText) const
231{
232 if(iFindAfter<0) iFindAfter=-1;
233 for(int i=iFindAfter+1;i<m_arrItems.GetCount();i++)
234 {
235 if(m_arrItems[i]->strText.GetText(TRUE) == pszText)
236 return i;
237 }
238 return -1;
239}
240
241BOOL SListBox::CreateChildren(pugi::xml_node xmlNode)
242{

Callers

nothing calls this directly

Calls 2

GetCountMethod · 0.45
GetTextMethod · 0.45

Tested by

no test coverage detected