基于模板的题库平台系统(1)(2)
2014-07-05 01:10
导读:GetInPlaceActiveItem(this); if(pItem) { pItem->EnableAutomation(); LPDISPATCHlpDisp; lpDisp=pItem->GetIDispatch(); _DFormulaEditformula(lpDisp); //strCmd:是需要显示的公式 formula.SetCaption(
GetInPlaceActiveItem(this);
if(pItem)
{
pItem->EnableAutomation();
LPDISPATCHlpDisp;
lpDisp=pItem->GetIDispatch();
_DFormulaEditformula(lpDisp);
//strCmd:是需要显示的公式
formula.SetCaption(strCmd);
pItem->DeactivateUI();
}
3模板设计