コード例 #1
0
ファイル: RollupCtrl.cpp プロジェクト: galek/erbiqingnian
void CRollupCtrl::RemoveAllPages()
{
	for (; m_PageList.size();)
		_RemovePage( m_PageList[0]->id );

	RecalLayout();
}
コード例 #2
0
ファイル: RollupCtrl.cpp プロジェクト: Spritutu/AiPI-1
//---------------------------------------------------------------------------
// Function name	: RemoveAllPages
// Description		:
//---------------------------------------------------------------------------
void CRollupCtrl::RemoveAllPages()
{
	//Remove all
	while (m_PageList.GetSize())	_RemovePage(0);

	//Update
	RecalLayout();
}
コード例 #3
0
ファイル: RollupCtrl.cpp プロジェクト: galek/erbiqingnian
void CRollupCtrl::RemovePage(int idx)
{
	if (!FindPage(idx))
		return;

	_RemovePage(idx);

	RecalLayout();
}
コード例 #4
0
ファイル: RollupCtrl.cpp プロジェクト: Spritutu/AiPI-1
//---------------------------------------------------------------------------
// Function name	: RemovePage
// Description		: 
//---------------------------------------------------------------------------
void CRollupCtrl::RemovePage(int idx)
{
	if (idx>=m_PageList.GetSize() || idx<0)				return;

	//Remove
	_RemovePage(idx);

	//Update
	RecalLayout();
}