APROP.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- class CAmbientProperty :
- public CObject
- {
- DECLARE_SERIAL( CAmbientProperty );
- public:
- CAmbientProperty();
- CAmbientProperty( DISPID dispid, LPCTSTR pszName, const VARIANT& var,
- int vti, BOOL tStock = FALSE );
- void Enable( BOOL tEnabled );
- DISPID GetID() const;
- CString GetName() const;
- const COleVariant& GetValue() const;
- int GetVTI() const;
- BOOL IsEnabled() const;
- BOOL IsStock() const;
- void SetValue( const VARIANT& varValue, int vti = -1 );
- void Serialize( CArchive& ar );
- protected:
- DISPID m_dispid;
- CString m_strName;
- COleVariant m_varValue;
- int m_vti;
- BOOL m_tEnabled;
- BOOL m_tStock;
- };