WizKnowledge 的ActiveX控件:IWizStyleListBox
object,
uuid(F5AE7BE3-B10A-464A-8A4C-AA8D33E9B272),
dual,
nonextensible,
helpstring("IWizStyleListBox Interface"),
pointer_default(unique)
]
interface IWizStyleListBox : IDispatch{
//获得/设置数据库对象
[propget, id(1), helpstring("property Database")] HRESULT Database([out, retval] IDispatch** pVal);
[propput, id(1), helpstring("property Database")] HRESULT Database([in] IDispatch* newVal);
//获得/设置选中的样式,类型为IWizStyle
[propget, id(2), helpstring("property SelectedStyle")] HRESULT SelectedStyle([out, retval] IDispatch** pVal);
[propput, id(2), helpstring("property SelectedStyle")] HRESULT SelectedStyle([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(94B0B237-5327-454F-8DB7-EB767BCFD2CC),
helpstring("_IWizStyleListBoxEvents Interface")
]
dispinterface _IWizStyleListBoxEvents
{
properties:
methods:
//用户更改了选中的样式
[id(1), helpstring("method SelChanged")] HRESULT SelChanged(void);
};
最近评论