2.2.6.36.7 WorksheetControl::RemoveAllItems

Description

Remove all items

Syntax

void RemoveAllItems( )

Parameters

Return

None.

Examples

EX1

#include <Dialog.h>
#define IDC_WORKSHEET 1001

// Assumes the current window is worksheet
void WorksheetControl_RemoveAllItems(Dialog& dlg)
{
	Worksheet wks = Project.ActiveLayer();
	string         strWksName = wks.GetName();
	WorksheetControl wc = dlg.GetItem(IDC_WORKSHEET);
	wc.Attach(strWksName);
	wc.RemoveAllItems();
}

Remark

See Also

Header to Include

Control.h