Jump to content

Recommended Posts

Guest bassplayinuk
Posted

The icons on my home page have a grey background when highlighted. I would like the background to be transparent and for the icon to have a coloured border to indicate that they are selected instead. Is this possible, if so how? I'm quite new to XML so haven't too much of a clue.

Here is the code I use: -

 <plugin file="sysplug.dll" clsid="{79EFB752-CB70-446d-B317-499723482B3D}" height="25">


  <background b-border-width="0"/>


  <mru icon-size="16"  x="16" y="4" halign="left" valign="bottom" max-buttons="8"/>


  </plugin>

Cheers in advance.

Guest drblow
Posted

Add this code -

<plugin clsid="{79EFB752-CB70-446d-B317-499723482B3D}" name="startmru" height="20">


  <background b-border-width="0">


	<format state="selected" bgcolor="transparent" /> 


	<format state="unselected" bgcolor="transparent" />


	</background>

Then change "transparent" for the colour you want eg. "#ffffff" would be white!

Guest bassplayinuk
Posted

Cheers for the prompt reply. When selected I would like it just to have a white border. A 1 pixel thick square around the icon. Is that possible?

Guest drblow
Posted

Hmm ... I think if you set border="1" that will set at least a line under the plugin, but I'm not sure about a box. You could always do it by creating an image - just the a box the size of the plugin, in the background colour you want, with a white box around the edge, and use it as a background image for the MRU plugin.

Guest bassplayinuk
Posted

Ok. I'll have a play around and will post the solution if I can do it using code. Cheers for the help so far.

Guest gpcarreon (MVP)
Posted
What does MRU stand for? :oops:

Lists of Most Recently Used (programs). :wink:

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.