| 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 | { |