BOOL TSteering::StartMacroExecution( TMacroTag* Macro, HWND host ) { // Function tested; Last changes 950814 if(!Macro->bIsReady && !bInterrupted) { MessageBox( GetFocus(), "Interrupt first the running Macro !", "Message", MBINFO ); return FALSE; } nCmdIdx = 0; Device->MeasureStop(); Device->SetHost( hControlWnd ); hHostWindow = host; TheMacro = Macro; TheCmdList = Macro->CmdList; StartCmdExecution( TheCmdList[nCmdIdx] ); return TRUE; };