Change Mainwindow color? - 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: Scripting (/forumdisplay.php?fid=39) +----- Thread: Change Mainwindow color? (/showthread.php?tid=74426) Change Mainwindow color? by Intosia on 05-16-2007 at 11:02 AM Is it possible to change the Main Windows and/or Chat Window colors with a plugin? Through Send Messages? I tried the reg key 'Lastcolor' (or something) but that didnt do anyhting... RE: Change Mainwindow color? by Matti on 05-16-2007 at 01:47 PM
Yes, it is possible! I just figured it out! code:A note on the last 2 commands: you can choose from any swatch available on the panel. There are 12 swatches and to get the command, you'll need to add 35100 to the index, e.g. the 2nd color has index 1 (counting starts at 0) so the command would be 35101... or just look it up in ResHack > msgsres.dll > 4004 > 945 beginning at line 131. RE: Change Mainwindow color? by Matti on 05-16-2007 at 03:16 PM
quote:I opened ResHack, opened "C:\Program Files\MSN Messenger\msgslang.dll" and looked for the message displayed with the button (eg: "Kleur wijzigen" since I'm on a Dutch version). Then, I looked at the number of the string and searched for it with ResHack in "C:\Program Files\MSN Messenger\msgsres.dll". Then, I ended up in a UIFILE of the color pick popup and looked at the cmdid. That number is the command you have to send to the window with SendMessageW. Another example of what you can do with these commands is explained in Eljay's reply to [Request] Webcam Command. RE: Change Mainwindow color? by Intosia on 05-16-2007 at 04:07 PM
NL Nice find RE: Change Mainwindow color? by Intosia on 05-24-2007 at 01:50 PM So no custom color is possible? Argg 2bad... have a nice idea for a script but this drops a bomb on it RE: Change Mainwindow color? by Matti on 05-24-2007 at 03:22 PM
Well, as far as I know there's no way to actually set the color by using a SendMessage call. These messages are all just provided by the Messenger client core itself. If they'd need a command which could change the color without the use of a color window, they could add it. But I doubt they would, or even better: I doubt they'd ever need such command. RE: Change Mainwindow color? by Intosia on 05-24-2007 at 04:22 PM Well I guess you're right... Dont think its possible with SendMessage. I had a look at the function in msncore.dll And there are alot contain 'color' and stuff, but thats all to difficult for me Thx anyway |