Пример #1
0
void CRollupCtrl::RemoveAllPages()
{
	for (; m_PageList.size();)
		_RemovePage( m_PageList[0]->id );

	RecalLayout();
}
Пример #2
0
//---------------------------------------------------------------------------
// Function name	: RemoveAllPages
// Description		:
//---------------------------------------------------------------------------
void CRollupCtrl::RemoveAllPages()
{
	//Remove all
	while (m_PageList.GetSize())	_RemovePage(0);

	//Update
	RecalLayout();
}
Пример #3
0
void CRollupCtrl::RemovePage(int idx)
{
	if (!FindPage(idx))
		return;

	_RemovePage(idx);

	RecalLayout();
}
Пример #4
0
//---------------------------------------------------------------------------
// Function name	: RemovePage
// Description		: 
//---------------------------------------------------------------------------
void CRollupCtrl::RemovePage(int idx)
{
	if (idx>=m_PageList.GetSize() || idx<0)				return;

	//Remove
	_RemovePage(idx);

	//Update
	RecalLayout();
}