IWizBubbleWnd

[ 
    object, 
    uuid(E0A3385C-0255-4CAE-8F88-EE5B4E5CF13A), 
    dual, 
    nonextensible, 
    helpstring("IWizBubbleWnd Interface"), 
    pointer_default(unique) 
] 
interface IWizBubbleWnd : IDispatch{ 
    [propput, id(1), helpstring("property Caption")] HRESULT Caption([in] BSTR newVal); 
    [propput, id(2), helpstring("property SubCaption")] HRESULT SubCaption([in] BSTR newVal); 
    [propput, id(3), helpstring("property Text")] HRESULT Text([in] BSTR newVal); 
    [propput, id(4), helpstring("property Image")] HRESULT Image([in] BSTR newVal); 
    [id(5), helpstring("method InitButton")] HRESULT InitButton([in] LONG nButtonIndex, [in] VARIANT_BOOL vbVisible, [in] BSTR bstrCaption, [in] BSTR bstrToolTip); 
    [id(6), helpstring("method SetIcon")] HRESULT SetIcon([in] OLE_HANDLE hIcon); 
    [id(7), helpstring("method Show")] HRESULT Show([in] LONG nSeconds); 
    [id(8), helpstring("method Hide")] HRESULT Hide(); 
    [id(9), helpstring("method IsVisible")] HRESULT IsVisible(void); 
};
 
ProgID
WizTools.WizBubbleWnd
C/C++头文件
WizTools.h; WizTools_i.c
 

属性 Caption

标题

参数

类型

  • put: [in] BSTR newVal:设置标题

属性 SubCaption

子标题

参数

类型

  • put: [in] BSTR newVal:设置子标题

属性 Text

子标题

参数

类型

  • put: [in] BSTR newVal:设置窗口文字

属性 Image

窗口图片

参数

类型

  • put: [in] BSTR newVal:设置图片文件名

方法 InitButton

初始化按钮

参数

  • [in] LONG nButtonIndex:按钮索引 0-3
  • [in] VARIANT_BOOL vbVisible:是否显示按钮
  • [in] BSTR bstrCaption:按钮标题
  • [in] BSTR bstrToolTip:ToolTip文字

返回

方法 SetIcon

设置窗口图标

参数

  • [in] OLE_HANDLE hIcon:设置窗口显示的图标 (HICON)

返回

方法 Show

显示窗口

参数

  • [in] LONG nSeconds:显示的时间(秒)

返回

方法 Hide

隐藏窗口

参数

返回

方法 IsVisible

判断窗口是否正在显示。C++程序通过返回值判断(S_OK/S_FALSE)。

参数

返回