What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [help] Setting window icons...

[help] Setting window icons...
Author: Message:
whiz
Senior Member
****


Posts: 568
Reputation: 8
– / – / Flag
Joined: Nov 2008
O.P. Huh?  [help] Setting window icons...
I've seen it done in Countdown Live, but I can't seem to be able to do it.  There's no error message or anything - nothing happens.
Javascript code:
var ScriptIcon = Interop.Call("user32", "LoadImageW", Interop.Call('kernel32', 'GetCurrentProcess'), MsgPlus.ScriptFilesPath + "\\Icon.ico", 1, 0, 0, 0x10 | 0x20);
var TmpWnd = MsgPlus.CreateWnd("Test.xml", "WndTest", 0);
Interop.Call("user32", "SendMessageW", TmpWnd, 0x80, 0, ScriptIcon);
Interop.Call("user32", "SendMessageW", TmpWnd, 0x80, 1, ScriptIcon);

Am I missing something here, or have I done something wrong?
01-29-2010 09:21 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[help] Setting window icons... - by whiz on 01-29-2010 at 09:21 PM
RE: [help] Setting window icons... - by matty on 01-29-2010 at 09:36 PM
RE: [help] Setting window icons... - by whiz on 01-29-2010 at 09:42 PM
RE: [help] Setting window icons... - by matty on 01-29-2010 at 09:43 PM
RE: [help] Setting window icons... - by whiz on 01-29-2010 at 09:48 PM


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