Shoutbox

Changing buttons question - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Skinning (/forumdisplay.php?fid=41)
+----- Thread: Changing buttons question (/showthread.php?tid=80047)

Changing buttons question by wudstikk on 12-14-2007 at 06:07 PM

Hello Folks!

I've a questions about skinning..

I try to explain it with a couple of screenshots.. (because i'm not good in english)

Screenshot 1: This is how my skin looks at the moment..
[Image: screenshot1xf0.th.jpg]

Screenshot 2: This is what i want to change
[Image: screenshot2cm5.th.jpg]

Screenshot 3: This is how i wish it will looks when its finished
[Image: screenshot3th3.th.jpg]

What I want to change, but dunno how is;

- The top buttons (min - max - close)
- Remove the Colorbutton and replace it with the ShowMenu button
- Change Windows Live Messenger in Sil Messenger

Someone that can help me?

Thanks..


RE: Changing buttons question by Keikonium on 12-14-2007 at 07:02 PM

~~ The following is for 8.5, can't guarantee it works in other versions ~~

To get rid of the color button, open up the 923 Definition file. Search for thr following text:

code:
<button active=mouse|nosyncfocus accessible=false id=atom(ToolbarScrollRight) class="HIGToolbarRightScrollButton" tooltip=true/>                                           
<Button layoutpos=left cmdid=40317 id=atom(colorizedropdownbtn) AccRole=57 Class="TransparentButton" Layout=flowlayout(0,2,0,2) Active=MouseandKeyboard|NoSyncFocus Padding=rect(5,4,5,4)>
<element class="ToolbarIcon" ID=Atom(ai210)/>
</Button>

Remove it and your color button will be gone :). If you have trouble finding it, search for cmdid=40317. Make backups just incase you remove something you didn't want to ;).

I think for Sil Messenger part its either text or an image, I can't remember. I haven't gotten around to editing that in my skin yet.

And for the buttons, the original ones are stored in RLE format. You can't use RLE since its some microsoft thing. Sooo, you need to replace each button, and each of their states with a seperate image. Here is a thread explaining it:

Changing Multi-Images


I hope this helps. I am pretty darn new to skinning, so sorry I can't go into a lot of detail :(.
RE: Changing buttons question by wudstikk on 12-14-2007 at 07:51 PM

Thanks for responding..

I'm using 8.5 and it worked.. The color button is removed! Thanks.. :)
But is it possible to put the ShowMenu button on the left side? Near the Stuffplug button?

Tomorrow i will try the Changing Multi-Images..
It looks difficult.. Hehe..

Thanks for your help! :D


RE: RE: Changing buttons question by Keikonium on 12-14-2007 at 08:21 PM

quote:
Originally posted by wudstikk
Thanks for responding..

I'm using 8.5 and it worked.. The color button is removed! Thanks.. :)
But is it possible to put the ShowMenu button on the left side? Near the Stuffplug button?

Tomorrow i will try the Changing Multi-Images..
It looks difficult.. Hehe..

Thanks for your help! :D

Yeah it's possible to move the buttons. Same definition file, look for the code:

code:
<Button class="TransparentDropdownButton" layout=borderlayout() layoutpos=right margin=rect(0,0,0,0) cmdid=20002 id=atom(showmenubtn) AccRole=57 active=MouseAndKeyboard|NoSyncFocus><element layoutpos=client layout=flowlayout(0,3,1,2) contentalign=middlecenter>        <element class="ToolbarIcon" Padding=rect(3,0,0,0) ID=Atom(ai211)/>
</element>
<element layoutpos=right Class="TransparentDropdownButtonCaret" padding=rect(0,4,4,4)/>
</Button>

Take that code (it's for the menu button) and move it right before this code:

code:
</MToolbar>

The MToolbar are the dashboard buttons. It's nice that they are all within the MToolbar tags. It makes adding/removing/relocating them easy :D.

Good luck ^_^. And yeah, I still need to tackle the multi images thing. Their explinations are great, but I am gonna work on other things in my skin first :).