@Anonymous wrote:
(...) how to close this meter on process done .How to sync the things ?
To initialize: acedSetStatusBarProgressMeter(L"My progresss text", int nMinPos, int nMaxPos)
You have to figure out yourself how nMinPos and nMaxPos are about to work for you.
To "sync": acedSetStatusBarProgressMeterPos(pos);
To "close": acedRestoreStatusBar();
Example:
int count = 123;
int progErr;
progErr = acedSetStatusBarProgressMeter(L"My Progress:", 0, count-1);
for (int i=0; i<count; ++i)
{
DoMyStep(i); // <-- your code
if (!progErr)
acedSetStatusBarProgressMeterPos(i);
}
if (!progErr)
acedRestoreStatusBar();
Thomas Brammer ● Software Developer ● imos AG ● LinkedIn ● 
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.