设定初始值
CString str(_T("Button")); COleVariant cOlevariant(str); pTypeProperty->SetOriginalValue(cOlevariant); pTypeProperty->ResetOriginalValue();
转载于:https://www.cnblogs.com/Dennis-mi/p/3332836.html