RemoveAllItems
Remove all items
void RemoveAllItems( )
None.
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(); }
Control.h