What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Interface Window Colors

Interface Window Colors
Author: Message:
trevorpe
New Member
*


Posts: 12
28 / Male / Flag
Joined: Dec 2008
O.P. Interface Window Colors
Hello,

I'm only 13, and I'm scripting a bit.  I have an interface window that I want users to be able to choose a color by th RGB format.  I made a function to turn that into hexadecimal to put in conversation windows.  Is it possible to change the color of a control or element in the interface window to preview the color?  Also, can the script get the value of slider controls?  Because I would rather use sliders for each color than edit boxes.  Please reply.

Trevor
12-22-2008 08:26 PM
Profile PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
RE: Interface Window Colors
I never tried custom colouring the window from a script (only done it by xml) so I can't give you an answer for that.

As for slider controls, in fact you can get the value by sending a TBM_GETPOS message to the control handle. You can also set the value on the slider control by sending TBM_SETPOS with a value as a parameter ;)

code:
PlusWnd.SendControlMessage("SliderControl", 0x405 /* TBM_SETPOS */, 1, 255 /* new value */);
PlusWnd.SendControlMessage("SliderControl", 0x400 /* TBM_GETPOS */, 0, 0);

TBM_SETPOS = TBM_GETPOS+5

This post was edited on 12-23-2008 at 12:43 AM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
12-23-2008 12:40 AM
Profile PM Web Find Quote Report
trevorpe
New Member
*


Posts: 12
28 / Male / Flag
Joined: Dec 2008
O.P. RE: Interface Window Colors
Thanks, but until I figure out (if it is even possible), how to change the xml values from the script, It is no use to me.
Hopefully I'll find something or someone can help me out.
Trevor
12-23-2008 12:51 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On