|
www.mxdraw.com
|
返回所有的闪烁实体
static McDbObjectIdArray Mx_GetAllTwinkleEnt();
例如: VC2005 COM
IDispatchPtr spRet(m_ocx.Cal(_T("Mx_GetAllTwinkleEnt")),false);
IMxDrawResbufPtr spResbuf;
spRet->QueryInterface(&spResbuf);
CString sRet = spResbuf->AtString(0);
if(sRet == _T("Ok") )
{
CString sT;
sT.Format(_T("有%d个实体闪烁"),spResbuf->Count -1);
AfxMessageBox(sT);
}