Setting the protocol status color
The protocol color is set on the Protocol Colors tab of the Network Monitor Properties dialog box.
- Select Display protocol status color to configure the protocol color. This is displayed on the protocol color bar of the thread icon. This check box is not selected by default, indicating no protocol status is shown on the thread icon.
- Select the protocol from the Protocol list, which lists all possible protocols.
- The table in the remainder of the dialog box shows the selected colors for individual protocol statuses. This table has two columns: Protocol Status and Color. Click the column header to sort the columns.
-
Click the button to open the
Color Chooser dialog box, from which you can
select the color for the protocol status on that same row. The Color cell shows
the selected color as its background color.
You can set another color for each individual protocol status.
-
Click
OK to commit the new
settings. These settings are immediately applied to the thread icons in the
View tab.
The protocol status color settings are user-specified client settings, and are saved in client.ini.
For example:
[user_<name>_100.0.0.0_5.6_chapard_netmonitor] protocolcolors=true protocolcolors_file=-8355712 -16777216 -16777216 -65536 -16731648 -10040065 -10040065 -16777038 -20561 protocolcolors_tcpip=-16737895 -16777216 -16777216 -16777216 -16731648 -10040065 -10040065 -16777038 -20561
The value for the
protocolcolors
key indicates the Display protocol status color status:-
true
means display. -
false
means do not display.
After
protocolcolors
are the protocol status color settings for the individual protocols.- The protocol name is in the key. This must be lowercase.
- The protocol status color
settings for individual protocols following the fixed prefix
protocolcolors_
. - The color setting is a number that represents the RGB color value in the default RGB integer. Bits 24-31 are alpha, 16-23 are red, 8-15 are green, and 0-7 are blue.
- The delimiter among colors are an empty space.
- The color values are in a fixed sequence for individual protocol status.
- If a protocol is not found here
and
protocolcolors
istrue
, then the default color is used. - If no
protocolcolors
setting is found, then no protocol status color is shown, which works the same as havingprotocolcolors
befalse
.
-