Update
Update the control
void Update( )
None.
EX1
#include <Dialog.h> #define IDC_WORKSHEET 1001 // Assumes the current window is worksheet void WorksheetControl_Update_ex(Dialog& dlg) { Worksheet wks = Project.ActiveLayer(); string strWksName = wks.GetName(); WorksheetControl wc = dlg.GetItem(IDC_WORKSHEET); wc.Attach(strWksName); wc.Update(); }
Control.h