Click or drag to resize

Window.AddTrayIcon Method (Typed)

X#
Adds a tray icon associated with the window.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD AddTrayIcon(
	oTrayIcon,
	dwID,
	sToolTip
) AS USUAL CLIPPER
Request Example View Source

Parameters

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

Return Value

Type: Usual
Remarks
Tip Tip
If Shell version 5 or above is loaded, the tool tip will support line breaks by using CRLF. On older versions of the Shell the CRLF is automatically replaced with a space.
See Also