quote:
Originally posted by matty
Just add the highlighted line to the function
Javascript code:
function SetIcon (hWnd, nStatus, bIsContactBlocked) {
var sIcon = MsgPlus.ScriptFilesPath + '\\' + oStatus[nStatus] + (bIsContactBlocked ? '_blocked' : '') + '.ico';
var hIcon = Interop.Call("shell32", "ExtractIconW", hWnd, sIcon, 0);
Interop.Call('user32', 'SendMessageW', hWnd, 0x80, 0, hIcon);
Interop.Call('user32', 'SendMessageW', hWnd, 0x80, 1, hIcon);}
Just out of interest... Did you do that from what I said or did you research it?