Click or drag to resize

Window.ModifyTrayIcon Method (Typed)

X#
Modify the tray icon associated with the window.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD ModifyTrayIcon(
	oTrayIcon AS VOTrayIcon,
	dwID AS DWORD,
	sToolTip AS STRING
) AS USUAL
Request Example View Source

Parameters

oTrayIcon
Type: VOTrayIcon
The icon object to add to the tray.
dwID
Type: DWord
The unique ID of the icon (between 1 and 8000).
sToolTip
Type: String
The tool tip string to be displayed for this icon.

Return Value

Type: Usual
Remarks
Tip Tip
If modern versions of window , the tool tip will support line breaks by using CRLF. On older versions the CRLF is automatically replaced with a space.
See Also