Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsSystemTrayMBS class.

WindowsSystemTrayMBS.BalloonMode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows System Tray MBS Win Plugin 7.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The balloon mode.
Example
dim s as WindowsSystemTrayMBS

s.BalloonText = "The text for the balloon."
s.BalloonTitle = "The title for the balloon"
s.BalloonMode = 0 // Error mode

0 is Error, 1 is Info and 2 is warning.
(Read and Write property)

Some examples using this property:

WindowsSystemTrayMBS.BalloonText as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows System Tray MBS Win Plugin 7.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The balloon text to show.
Example
dim wst as WindowsSystemTrayMBS // your system tray object

wst.BalloonTitle="Warning"
wst.BalloonText="You have not clicked on me the last 10 minutes."
call wst.modify

If BalloonTitle or BalloonText are not empty the balloon is shown when you call modify.
(Read and Write property)

Some examples using this property:

WindowsSystemTrayMBS.BalloonTimeout as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows System Tray MBS Win Plugin 7.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The balloon timeout in milliseconds.
Example
dim s as WindowsSystemTrayMBS

s.BalloonText = "The text for the balloon."
s.BalloonTitle = "The title for the balloon"
s.BalloonMode = 0 // Error mode
s.BalloonTimeout = 30000

A value between 10000 and 30000.
Note that Timeout is valid only in Windows 2000 and Windows XP.
(Read and Write property)

See also:

Some examples using this property:

WindowsSystemTrayMBS.BalloonTitle as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows System Tray MBS Win Plugin 7.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The title of the balloon tooltip.
Example
dim s as WindowsSystemTrayMBS

s.BalloonText = "The text for the balloon."
s.BalloonTitle = "The title for the balloon"
s.BalloonMode = 0 // Error mode

If BalloonTitle or BalloonText are not empty the balloon is shown when you call modify.
(Read and Write property)

Some examples using this property:

WindowsSystemTrayMBS.IconHandle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows System Tray MBS Win Plugin 7.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The icon handle currently used for the tray object.

zero if no handle is there.
(Read and Write property)

WindowsSystemTrayMBS.ID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows System Tray MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
If you have more than one icon in the system tray, use this ID to see which one is referred to inside an event.

(Read and Write property)

WindowsSystemTrayMBS.Tooltip as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows System Tray MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The help string for the tooltip.
Example
dim e as WindowsSystemTrayMBS // global

e=new WindowsSystemTrayMBS
e.ID=12345678
e.Tooltip="some text"
e.BalloonText="some text"
e.BalloonTitle="some text"
e.BalloonMode=0

Limited to 63 characters.
(Read and Write property)

WindowsSystemTrayMBS.UsingNewEvents as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows System Tray MBS Win Plugin 7.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Whether the new events are enabled.

The plugin tries to enable new events if possible. That will only work on Windows 2000 or newer.

New events are:
BalloonTimeout
PopupOpen
ContextMenu
BalloonHide
KeySelected
BalloonUserClick
BalloonShow
Selected
(Read only property)

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...