WorksheetControl::Update

Description

Update the control

Syntax

void Update( )

Parameters

Return

None.

Examples

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();
}

Remark

See Also

header to Include

Control.h