只读时,点"数据浏览"无法弹出script窗口
CComString sType = CComString(ele.GetAttr(_T("browsertype")));
if( ele.IsReadOnly() == true && sType != CComString(_T("script")) )//2005.12.11
return;
原来是:
//CComBSTR bstrType = ele.GetAttr(_T("browsertype"));
//if( ele.IsReadOnly() == true && bstrType != CComBSTR(_T("script")) )
// return;