WizKnowledge 的ActiveX控件:IWizTagTreeCtrl
object,
uuid(30799F2F-3377-4326-818E-1A4BF3CB715A),
dual,
nonextensible,
helpstring("IWizTagTreeCtrl Interface"),
pointer_default(unique)
]
interface IWizTagTreeCtrl : IDispatch{
//获得/设置数据库对象,类型为IWizDatabase
[propget, id(1), helpstring("property Database")] HRESULT Database([out, retval] IDispatch** pVal);
[propput, id(1), helpstring("property Database")] HRESULT Database([in] IDispatch* newVal);
//获得/设置用户选中的标签。类型为IWizTagCollection
[propget, id(2), helpstring("property SelectedTags")] HRESULT SelectedTags([out, retval] IDispatch** pVal);
[propput, id(2), helpstring("property SelectedTags")] HRESULT SelectedTags([in] IDispatch* newVal);
//获得/设置状态section
[propget, id(3), helpstring("property StateSection")] HRESULT StateSection([out, retval] BSTR* pVal);
[propput, id(3), helpstring("property StateSection")] HRESULT StateSection([in] BSTR newVal);
//获得/设置是否显示边框
[propget, id(4), helpstring("property Border")] HRESULT Border([out, retval] VARIANT_BOOL* pVal);
[propput, id(4), helpstring("property Border")] HRESULT Border([in] VARIANT_BOOL newVal);
//获得/设置是否显示阴影
[propget, id(5), helpstring("property Shadow")] HRESULT Shadow([out, retval] VARIANT_BOOL* pVal);
[propput, id(5), helpstring("property Shadow")] HRESULT Shadow([in] VARIANT_BOOL newVal);
//刷新
[id(6), helpstring("method Refresh")] HRESULT Refresh();
//获得/设置用户更改了选中标签的事件,用于脚本语言响应该时间,例如在html里面,使用JavaScript响应这个事件。
[propget, id(7), helpstring("property OnSelChanged")] HRESULT OnSelChanged([out, retval] VARIANT* pVal);
[propput, id(7), helpstring("property OnSelChanged")] HRESULT OnSelChanged([in] VARIANT newVal);
};
uuid(B9344735-5486-4FF9-BDFA-5CDCD30122AD),
helpstring("_IWizTagTreeCtrlEvents Interface")
]
dispinterface _IWizTagTreeCtrlEvents
{
properties:
methods:
//用户更改了选中的标签
[id(1), helpstring("method SelChanged")] HRESULT SelChanged(void);
};
最近评论