| 40 | } |
| 41 | |
| 42 | CControlUI* CContainerUI::GetItemAt(int iIndex) const |
| 43 | { |
| 44 | if( iIndex < 0 || iIndex >= m_items.GetSize() ) return NULL; |
| 45 | return static_cast<CControlUI*>(m_items[iIndex]); |
| 46 | } |
| 47 | |
| 48 | int CContainerUI::GetItemIndex(CControlUI* pControl) const |
| 49 | { |