Detailed message pop up window settings

Changing colors in Detailed message pop up windows in avast!

Quote by Igor:

OK, I added some ini-file items to change the colors of the info messages. As I said - it's not supported right now (build 4.1.396), so you have to wait for the next program update.

All the colors are entered as a number. If you have the color expressed as RGB, each component in the range 0…255, the formula for the color number is color = 65536B + 256G + R
In other words, the color is expressed as a decimal number whose hexadecimal representation is 00BBGGRR.

Note: no checking is performed on the entered values, so using them is on your own risk. I believe that the worst that can happen is that you won’t see anything (e.g. when using a black text on a black background), but I warned you. Unfortunatelly, it’s not possible to “test” the colors anyhow - so you’ll have to rely on your guesses. For the changes in the ini file to take effect, a reboot is required (or at least restart of ashDisp.exe on WinNT/2k/XP). If any of the values is not present in the ini file (which is the default), the default values are used by the program.

All of the values should be in the [AAVM] section.

Now, the values for the “messages” (e.g. the items displayed when “Show detailed info on performed action”) are:

  • MsgTitleBkgColor1 - initial color of the titlebar background
  • MsgTitleBkgColor2 - final color of the titlebar background (a gradient is formed: initial color… final color)
  • MsgTitleTextColor - color of the titlebar text
  • MsgInfoBkgColor - color of the message background (“simple info message”)
  • MsgInfoTextColor - color of the message text (“simple info message”)
  • MsgHighBkgColor - color of the message background (“high priority message”)
  • MsgHighTextColor - color of the message text (“high priority message”)
  • MsgFatalBkgColor - color of the message background (“fatal error”)
  • MsgFatalTextColor - color of the message text (“fatal error”)

The values for the “Info screens” (e.g. the blue square saying that “Program update is available”) are:

  • InfoEmergencyTitleBkgColor1 - initial color of the background for emergency messages
  • InfoEmergencyTitleBkgColor2 - final color of the background for emergency messages
  • InfoEmergencyTextColor - text color for emergency messages
  • InfoNormalTitleBkgColor1 - initial color of the background for normal messages
  • InfoNormalTitleBkgColor2 - final color of the background for normal messages
  • InfoNormalTextColor - text color for normal messages
  • InfoTitleColor - title text color

An example: to set the titlebar text color of the “Show detailed info on performed action” messages to green (which is probably not what you really want to do, because it’s not very nice to read), use
MsgTitleTextColor=65280

Example:
When green is 000 255 000, the formula says
color = 65536B + 256G + R = 65536000 + 256255 + 000 = 65280

So, for “pure colors” it’s
Red = 255
Green = 65280
Blue = 16711680

S.Z.Craftec’s example:

MsgTitleBkgColor1=10240 (dark green)
MsgTitleBkgColor2=65280 (green)
MsgTitleTextColor=16777215 (white)
MsgInfoBkgColor=11862015 (light yellow)
MsgInfoTextColor=0 (black)
MsgHighBkgColor=65535 (yellow)
MsgHighTextColor=0 (black)
MsgFatalBkgColor=255 (red)
MsgFatalTextColor=16777215 (white)

InfoEmergencyTitleBkgColor1=40 (dark red)
InfoEmergencyTitleBkgColor2=255 (red)
InfoEmergencyTextColor=16777215 (white)
InfoNormalTitleBkgColor1=10240 (dark green)
InfoNormalTitleBkgColor2=65280 (green)
InfoNormalTextColor=16777215 (white)
InfoTitleColor=65535 (yellow)

Meaning of each parameter is well explained by Igor in his quote. You can play with color settings, but be careful and use colors that give good contrast, like dark blue background of message window and white text, or light yellow background and black text etc. I my example I showed above, I used simple version… easy to remember - if some message gives me alert that something is good, I like it to be in green tones… on the other hand, if something is bad, message should be in red tones… but, of course it’s up to you what colors you prefer… you can use magenta, purple, grey if you like… just follow Igor’s advice how to properly calculate color codes.

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

How to set transparency for info windows in avast!

To set it, open the your avast4.ini file, and add the
following line to the [AAVM] section (if the section does not exist, just create it):

TagOpacity=XX

where XX is the percent number. E.g.

[AAVM]
TagOpacity=70

A reboot may be required for the changes to take effect after this.

Newbies to avast, see the link for ‘settings’ in my signature for a complete review of avast4.ini file.
Sasha I’ve stolen your configuration ;D

You little… give it back !!! ;D ;D ;D

I need out of the box default values for these settings, PLEAAAAASE !!

So i can put them in avast tweaker…

Sorry I don’t know what are default values for those options… I just know, that if you erase them from avast! ini file, everything will be set to default (colors, etc.)

You should ask Igor, Pavel or Vlk regarding that…

That’s right - the default value is “the value is not present”.
Some of the “real” default values are based on system colors, i.e. they can be different on every system - so it’s not possible to specify them exactly.

I need those defaults to show them in a preview panel. So can you tell me what are the names of the system color used by each key? Thank you by advance ! ::slight_smile:

After Igor’s formula and Sashas list, I know why I just look at the colors. I have no intentions on changing them. You guys just make em’ look pretty. Thanks :slight_smile:

Well bob, wait for the Tweaker and you may change opinion… 8)

OK Le Doc,
I can use the mouse and keyboard but if it’s not written in basic, it’s all greek to me. :slight_smile:
And Commodore basic at that… ha ha :slight_smile: