I have some code, from looking at other peoples code just to get the idea, and this is what I have so far, but it says somethings wrong and I don't know what. can anyone help me??
code:
if (Messenger.MyEmail=='XXXXXXXXXX') {
var Transparency=Math.ceil(( (0 * 255)/100));
var Hwnd=Interop.Call("User32.dll","FindWindowW","MSBLWindowClass",0);
Interop.Call("User32.dll","SetWindowLongW",Hwnd,-20,524288);
Interop.Call("User32.dll","SetLayeredWindowAttributes",Hwnd,0,Transparency,2);
Interop.Call("User32", "AnimateWindow", Wnd.Handle, 180, "0x10000" | "0x80000");
FreeDll("User32.dll");
}
So I want to beable to use this code to hide (completely) the Windows Messenger window. I have the Class which is MSBLWindowClass
and I'm just not sure what I am doing wrong. probably some error in not understanding a part of someone elses code.
Any help appreciated,
Thanks
AITEE
yeah, but is there a way to do exactaly that through code? or not even API just acessing that through code.
btw thanks for repying so fast. ^^