Click or drag to resize

Window.AddTrayIcon Method

X#
Adds a tray icon associated with the window.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
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