The OpenD Programming Language

NotificationAreaIcon.showBalloon

Shows a balloon notification. You can only show one balloon at a time, if you call it twice while one is already up, the first balloon will be replaced.

More...
class NotificationAreaIcon
void
showBalloon
(
string title
,
string message
,
MemoryImage icon = null
,
void delegate
()
onclick = null
,
int timeout = 2_500
)

Parameters

title string

Title of the notification. Must be 40 chars or less or the OS may truncate it.

message string

The message to pop up. Must be 220 chars or less or the OS may truncate it.

icon MemoryImage

the icon to display with the notification. If null, it uses your existing icon.

onclick void delegate
()

delegate called if the user clicks the balloon. (not yet implemented)

timeout int

your suggested timeout period. The operating system is free to ignore your suggestion.

Detailed Description

The user is free to block notifications and they will automatically disappear after a timeout period.

Meta