Properties | |
| BSTR RW | Title [] |
| Gets or sets the title of the balloon tip window. | |
| BSTR RW | Text [] |
| Gets or sets the text of the balloon tip window. | |
| LONG RW | Icon [] |
| Gets or sets the icon of the balloon tip window. | |
| VARIANT_BOOL RW | Visible [] |
| Shows or hides the balloon tip window. | |
| ULONG RW | Timeout [] |
| The timeout value, in milliseconds, for a balloon tip. | |
Minimum OS: Windows XP. Requires visual styles (Themes).
o = new ActiveXObject("Scripting.WindowSystemObject") o.EnableVisualStyles = true f = o.CreateForm(0,0,0,0) f.ClientWidth = 500 f.ClientHeight = 200 f.CenterControl() f.TextOut(10,10,"Note. Themes must be enabled") Edit = f.CreateEdit(10,30,480,25) f.Show() BalloonTip = Edit.BalloonTip BalloonTip.Title = "Text" BalloonTip.Text = "Enter text where" BalloonTip.Icon = 4 BalloonTip.Visible = true Button = f.CreateButton(10,120,75,25,"Close") Button.OnClick = CloseFormHandler o.Run() function CloseFormHandler(Sender) { Sender.Form.Close() }
| LONG RW Icon |
Gets or sets the icon of the balloon tip window.
This parameter can be a one of the following values for any object except TrayIcon :
For TrayIcon ou can use
| BSTR RW Text |
Gets or sets the text of the balloon tip window.
| ULONG RW Timeout |
The timeout value, in milliseconds, for a balloon tip.
Note. The system minimum and maximum timeout values for Tray Icons are usually set at 10 seconds and 30 seconds, respectively. Used only for TrayIcon .
| BSTR RW Title |
Gets or sets the title of the balloon tip window.
| VARIANT_BOOL RW Visible |
Shows or hides the balloon tip window.