ActionCount Example for Visual C++ 5.0
void ActionCount(CLEADRasterContainerViewer * pLEADContainerViewer)
{
CString strMsg;
CWnd CtrlWnd;
CtrlWnd.Attach((HWND)pLEADContainerViewer->GetControlWindow ());
strMsg.Format(TEXT("The active action count is %d"), pLEADContainerViewer->GetActiveActionCount ());
CtrlWnd.MessageBox(strMsg, MB_OK);
CtrlWnd.Detach();
}