BalloonTip Interface Reference

Specifies balloon tip options. More...

List of all members.

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.


Detailed Description

Specifies balloon tip options.

Minimum OS: Windows XP. Requires visual styles (Themes).

Since:
1.1.8.
See also:
Edit.

TrayIcon.

Example (JScript):

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()
}

Result:

BalloonTip.jpg


Property Documentation

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 .

Since:
1.1.10.

BSTR RW Title

Gets or sets the title of the balloon tip window.

VARIANT_BOOL RW Visible

Shows or hides the balloon tip window.


WSO 1.1 Documentation. Date modified:Wed Aug 12 18:12:16 2015. (C) Veretennikov A. B. 2004-2015