DCX - Dialog Control Xtension Home | Translations | Download | Forum | Bug Tracker
v1.3.7
XTray
XTray allows you to create and modify icons in the system tray. They provide a useful indication of your status, tooltips, and can also receive basic mouse events.

/xtray Command
The /xtray command is used to manipulate icons in the system tray.
/xtray -c
This command creates a trayicon.
Syntax:
/xtray -c [ID] [INDEX] [FILENAME] (TAB) (TOOLTIP)
Example:
/xtray -c 3 4 mirc.exe $chr(9) This is the trayicon tooltip
/xtray -c 3 2 mirc.exe
Parameters:
ID The unique ID that this trayicon will be recognised by.
INDEX Icon index in icon archive
FILENAME Icon archive filename
TOOLTIP The tooltip for the trayicon.
 
Note. Use 0 for INDEX if the file is a single icon file.

/xtray -d
This command deletes the trayicon.
Syntax:
/xtray -d [ID]
Example:
/xtray -d 3
Parameters:
ID The unique ID that this trayicon will be recognised by.
INDEX Icon index in icon archive
FILENAME Icon archive filename
 
Note. Use 0 for INDEX if the file is a single icon file.

/xtray -e
This command edits a trayicon.
Syntax:
/xtray -e [ID] [INDEX] [FILENAME] ([TAB] TOOLTIP)
Example:
/xtray -e 3 4 mirc.exe $chr(9) This is the new trayicon tooltip
/xtray -e 3 2 mirc.exe
Parameters:
ID The unique ID that this trayicon will be recognised by.
INDEX Icon index in icon archive
FILENAME Icon archive filename
TOOLTIP The tooltip for the trayicon.
 
Note. Use 0 for INDEX if the file is a single icon file.

/xtray -i
This command edits the trayicon icon.
Syntax:
/xtray -i [ID] [INDEX] [FILENAME]
Example:
/xtray -i 3 4 mirc.exe
Parameters:
ID The unique ID that this trayicon will be recognised by.
INDEX Icon index in icon archive
FILENAME Icon archive filename
 
Note. Use 0 for INDEX if the file is a single icon file.

/xtray -T
This command edits the trayicon tooltip.
Syntax:
/xtray -T [ID] [TOOLTIP]
Example:
/xtray -T 3 This is the new trayicon tooltip
Parameters:
ID The unique ID that this trayicon will be recognised by.
TOOLTIP The tooltip for the trayicon.

XTray Signals
Signals are sent to mIRC containing information about mouse activity over the trayicon. To activate signal messages for trayicons, refer to /dcx xSignal
Signal:
DCX trayicon EVENT ID
Example:
DCX trayicon dclick 1
Parameters:
trayicon The event signal identifier.
EVENT Information about event occurred.
dclick The trayicon was double left-clicked.
rdclick The trayicon was double right-clicked.
mdclick The trayicon was double middle-clicked.
sclick The trayicon was single left-clicked.
rclick The trayicon was single right-clicked.
mclick The trayicon was single middle-clicked.
ID The unique ID which the trayicon was created with.
Contact © 2005-2006 Last Updated: 14th January, 07

Valid XHTML 1.0 Transitional Valid CSS!