Hi Norbert,
Thanks for the reply.
I have replaced 'mExecutionViewMgr' with 'mApplicationMgr' (again a pointer to ApplicationMgr). However I still don't get the date and time information.
About ShowAppropriateStatusBarPanes:
Below code snippet was available in the C++(MFC) example code for Operator Interface. It is used to show information like User, Model etc on the selected tab control.
void CTestExecDlg:
howAppropriateStatusBarPanes()
{
if (m_tabCtrl.GetCurSel() >= 0)
{
if (mListBar->GetCurrentPage() == SEQUENCE_FILES_PAGE_INDEX) // if only the files tab is visible
mStatusBar->ShowPanes(_T("User, EngineEnvironment, FileModel, FileSelectedSteps, FileNumberOfSteps"));
else
if (m_tabCtrl.GetCurSel() == 0) // execution tab is selected
mStatusBar->ShowPanes(_T("User, EngineEnvironment, ExecutionModel, ExecutionSelectedSteps, ExecutionNumberOfSteps, ProgressText, ProgressPercent"));
else // report tab is selected
mStatusBar->ShowPanes(_T("User, EngineEnvironment, ExecutionModel, ReportLocation, ReportModel, ProgressText, ProgressPercent"));
}
}
In the above ShowAppropriateStatusBarPanes(), how can I include date and time information as GetCaptionText() does not have the 'uiObj' parameter.
PS: The parameters inside ShowPanes() in the above code snippet are the 'uiObj' for each connection established.
Appreciate any help!