CHorizontalLayoutUI* CListUIEx::GetListSubItem(int iIndex, int iSubIndex) { //获取具体行控件 CListContainerElementUI *pListItem = static_cast<CListContainerElementUI*>(CListUI::GetItemAt(iIndex)); if (pListItem == NULL) return NULL; return static_cast<CHorizontalLayoutUI*>(pListItem->GetItemAt(iSubIndex)); }