ClassesClassesClassesClasses | | | | Operators

clear_tray_iconclear_tray_iconClearTrayIconclear_tray_iconClearTrayIconClearTrayIcon (Operator)

Name

clear_tray_iconclear_tray_iconClearTrayIconclear_tray_iconClearTrayIconClearTrayIcon — Removes a tray icon.

Signature

clear_tray_icon( : : TrayIconHandle : )

Herror clear_tray_icon(const Hlong TrayIconHandle)

Herror T_clear_tray_icon(const Htuple TrayIconHandle)

Herror clear_tray_icon(const HTuple& TrayIconHandle)

void ClearTrayIcon(const HTuple& TrayIconHandle)

void HNotificationX.ClearTrayIcon([in] VARIANT TrayIconHandle)

static void HNotification.ClearTrayIcon(HTuple trayIconHandle)

Description

clear_tray_iconclear_tray_iconClearTrayIconclear_tray_iconClearTrayIconClearTrayIcon removes a tray icon from the tray bar.

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

Attention

In contrast to HALCON internal handles the tray icons cannot be reset automatically if the program is reset in HDevelop (key F2). Therefore we recommand to add the operator call clear_all_tray_iconsclear_all_tray_iconsClearAllTrayIconsclear_all_tray_iconsClearAllTrayIconsClearAllTrayIcons at the beginning of a HDevelop script to clear manually.

Parallelization

Parameters

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

handle to the tray icon

Possible Predecessors

create_tray_iconcreate_tray_iconCreateTrayIconcreate_tray_iconCreateTrayIconCreateTrayIcon, create_tray_icon_imagecreate_tray_icon_imageCreateTrayIconImagecreate_tray_icon_imageCreateTrayIconImageCreateTrayIconImage

Alternatives

clear_all_tray_iconsclear_all_tray_iconsClearAllTrayIconsclear_all_tray_iconsClearAllTrayIconsClearAllTrayIcons

Module

Foundation


ClassesClassesClassesClasses | | | | Operators