IWizProgressWnd[ object, uuid(2D2713E8-C80B-44D6-BF85-216E19563A5C), dual, nonextensible, helpstring("IWizProgressWnd Interface"), pointer_default(unique) ] interface IWizProgressWnd : IDispatch{ [propput, id(1), helpstring("property Title")] HRESULT Title([in] BSTR newVal); [id(2), helpstring("method Show")] HRESULT Show(void); [id(3), helpstring("method Hide")] HRESULT Hide(void); [id(4), helpstring("method SetText")] HRESULT SetText([in] BSTR bstrText); [id(5), helpstring("method SetIcon")] HRESULT SetIcon([in] OLE_HANDLE hIcon); [id(6), helpstring("method InitProgress")] HRESULT InitProgress([in] LONG nMin, [in] LONG nMax); [id(7), helpstring("method SetProgress")] HRESULT SetProgress([in] LONG nPos); [id(8), helpstring("method IsCanceled")] HRESULT IsCanceled(void); };
属性 Title窗口标题
参数无
类型
方法 Show显示窗口
参数无
返回无
方法 Hide隐藏窗口
参数无
返回无
方法 SetText设置描述文字
参数
返回无
方法 SetIcon设置窗口图标
参数
返回无
方法 InitProgress初始化进度条
参数
返回无
方法 SetProgress设置进度条
参数
返回无
方法 IsCanceled检测用户是否取消了。C++用户通过返回值判断(S_OK/S_FALSE)
参数无
返回无
|
|||||
|