What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » RichStatic Control (Colours)

RichStatic Control (Colours)
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. RichStatic Control (Colours)
I've just been looking at RichStatic controls and know they can use colours, but is it possible to use more than one colour (ie so I can display a contacts name in full colour)?
<Eljay> "Problems encountered: shit blew up" :zippy:
10-25-2006 02:22 PM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: RichStatic Control (Colours)
YES!!! The RichStaticControls use the same syntax as MsgPlus! color codes. Hell, it supports all codes, including the old tags! (·$ etc.)

So, you can simply send the whole name to the control. :)
code:
PlusWnd.SetControlText("MyRichStaticControl", Contact.Name);

This post was edited on 10-25-2006 at 02:38 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
10-25-2006 02:37 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. RE: RichStatic Control (Colours)
Yay! Thanks :D
<Eljay> "Problems encountered: shit blew up" :zippy:
10-25-2006 02:46 PM
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