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

Method FindString

SOUI/src/control/SComboBase.cpp:441–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439 }
440
441 int SComboBase::FindString( LPCTSTR pszFind,int nAfter/*=0*/ )
442 {
443 for(int i=nAfter;i<GetCount();i++)
444 {
445 SStringT strItem = GetLBText(i,TRUE);
446 if(strItem == pszFind) return i;
447 }
448 return -1;
449 }
450
451 CSize SComboBase::GetDesiredSize(int nParentWid, int nParentHei)
452 {

Callers

nothing calls this directly

Calls 2

GetCountFunction · 0.85
GetLBTextFunction · 0.85

Tested by

no test coverage detected