ClassesClassesClassesClasses | | | | Operators

display_balloon_imagedisplay_balloon_imageDisplayBalloonImagedisplay_balloon_imageDisplayBalloonImageDisplayBalloonImage (Operator)

Name

display_balloon_imagedisplay_balloon_imageDisplayBalloonImagedisplay_balloon_imageDisplayBalloonImageDisplayBalloonImage — Displays a balloon tip in the tray bar.

Signature

display_balloon_image(Icon : : TrayIconHandle, Title, Content : )

Herror display_balloon_image(const Hobject Icon, const Hlong TrayIconHandle, const char* Title, const char* Content)

Herror T_display_balloon_image(const Hobject Icon, const Htuple TrayIconHandle, const Htuple Title, const Htuple Content)

Herror display_balloon_image(Hobject Icon, const HTuple& TrayIconHandle, const HTuple& Title, const HTuple& Content)

void DisplayBalloonImage(const HObject& Icon, const HTuple& TrayIconHandle, const HTuple& Title, const HTuple& Content)

void HNotificationX.DisplayBalloonImage(
[in] IHUntypedObjectX* Icon, [in] VARIANT TrayIconHandle, [in] VARIANT Title, [in] VARIANT Content)

static void HNotification.DisplayBalloonImage(HObject icon, HTuple trayIconHandle, HTuple title, HTuple content)

Description

display_balloon_imagedisplay_balloon_imageDisplayBalloonImagedisplay_balloon_imageDisplayBalloonImageDisplayBalloonImage displays a balloon tip in the tray bar.

The icon in IconIconIconIconIconicon must be a gray value image (1 channel) or color image (3 channels). We recommend a size of 128x128.

The string in TitleTitleTitleTitleTitletitle can have a maximum size of 63 characters because of restrictions of the operating system. Longer texts are truncated automatically.

The string in ContentContentContentContentContentcontent can have a maximum size of 255 characters because of restrictions of the operating system. Longer texts are truncated automatically.

There is a variant of this operator to show stock icons from the operating system in the balloon which is available as display_balloondisplay_balloonDisplayBalloondisplay_balloonDisplayBalloonDisplayBalloon.

Find more information about the Notification extension package in the introduction to this chapter.

Parallelization

Parameters

IconIconIconIconIconicon (input_object)  image(-array) objectHObjectHObjectHImageHObjectXHobject

An image to be shown as icon in the tray bar

TrayIconHandleTrayIconHandleTrayIconHandleTrayIconHandleTrayIconHandletrayIconHandle (input_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

handle to the tray icon

TitleTitleTitleTitleTitletitle (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

title to be shown in tray bar

Default value: 'title' "title" "title" "title" "title" "title"

ContentContentContentContentContentcontent (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

content to be shown in tray bar

Default value: 'message' "message" "message" "message" "message" "message"

Example (HDevelop)

display_balloon_icon(Image,TrayIconHandle,'title','message')

Possible Predecessors

create_tray_iconcreate_tray_iconCreateTrayIconcreate_tray_iconCreateTrayIconCreateTrayIcon, create_tray_icon_imagecreate_tray_icon_imageCreateTrayIconImagecreate_tray_icon_imageCreateTrayIconImageCreateTrayIconImage

Module

Foundation


ClassesClassesClassesClasses | | | | Operators