void UIBookStoreBookCommentDetailedPage::UpdatePageView()
{
    const int itemHeight = GetWindowMetrics(UIBookStoreBookCommentReplyItemHeightIndex);
    const int horizontalMargin = GetWindowMetrics(UIHorizonMarginIndex);
    for (vector<VIEW_ATTRIBUTE>::iterator itr = m_layoutIndex[m_curPage].viewList.begin(); itr != m_layoutIndex[m_curPage].viewList.end(); itr++)
    {
        UIWindow *pView = (*itr).pView;
        pView->SetVisible((*itr).isEnable);
        pView->MoveWindow((*itr).left, (*itr).top, (*itr).width, (*itr).height);
        if (pView->IsVisible() && ((*itr).listboxStartIndex || (*itr).listboxEndIndex))
        {
            UIBookStoreBookCommentReplyItem *pItem = NULL;
            int topOffset = 0;
            int i = 0;
            for (i = (*itr).listboxStartIndex; i < (*itr).listboxEndIndex; i++)
            {
                if ((i - (*itr).listboxStartIndex) == (int)m_replyList.GetChildrenCount())
                {
                    pItem = new UIBookStoreBookCommentReplyItem();
                    if(pItem)
                    {
                        m_replyList.AddItem(pItem);
                    }
                }
                else
                {
                    pItem = (UIBookStoreBookCommentReplyItem *)m_replyList.GetChildByIndex(i - (*itr).listboxStartIndex);
                }
                if (pItem)
                {
                    dk::bookstore::model::CommentReplySPtr objectItem = m_bookComment->GetReplyList()[i];
                    pItem->SetVisible(TRUE);
                    pItem->MoveWindow(0, topOffset, m_iWidth - (horizontalMargin << 1), itemHeight);
                    pItem->SetInfoSPtr(objectItem);
                    topOffset += itemHeight;
                }
            }
            for(i = i - (*itr).listboxStartIndex;i < (int)m_replyList.GetChildrenCount();i++)
            {
                pItem = (UIBookStoreBookCommentReplyItem *)m_replyList.GetChildByIndex(i);
                if(pItem)
                {
                    pItem->SetVisible(FALSE);
                }
                else
                {
                    break;
                }
            }

        }
    }
    if (m_commentContent.IsVisible())
    {
        m_commentContent.SetDrawPageNo(m_curPage);
    }
    Layout();
    UpdatePageNumber();
    m_replyList.ResetVisibleItemNum();
#ifndef KINDLE_FOR_TOUCH
    m_usefulButton.SetFocus(true);
#endif
}