Window.AddTrayIcon Method (Typed) | |
Adds a tray icon associated with the window.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD AddTrayIcon(
oTrayIcon,
dwID,
sToolTip
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual AddTrayIcon(
Usual oTrayIcon = default,
Usual dwID = default,
Usual sToolTip = default
)
Request Example
View SourceParameters
- 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:
UsualRemarks 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