quote:
Originally posted by CookieRevised
The script will soon be available again. You can take a look at it when it is available again. It is indeed as simple as those 2 lines of code you posted (with some more stuff around it of course).
Ok cool, thanks. Any possibility you could upload the one you've got so I can see, please?
It may be beneficial if they don't re-upload it. Thanks very much.
Edit: OMG! Nevermind, I did it! I used LoadImage instead:
code:
var icon = Interop.Call("user32.dll", "LoadImageW", null, iconLocation, IMAGE_ICON, 0, 0, LR_LOADFROMFILE);
Interop.Call("user32.dll", "SendMessageW", chatWindow.Handle, WM_SETICON, ICON_SMALL, icon);
I am so glad I managed that by myself!