What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Question (newb) about some api

Question (newb) about some api
Author: Message:
AITEE
New Member
*


Posts: 3
Joined: Nov 2006
O.P. Question (newb) about some api
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. ^^
11-15-2006 01:40 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Question (newb) about some api - by AITEE on 11-15-2006 at 01:40 AM
RE: Question (newb) about some api - by matty on 11-15-2006 at 01:57 AM
RE: Question (newb) about some api - by AITEE on 11-15-2006 at 03:58 AM
RE: Question (newb) about some api - by CookieRevised on 11-15-2006 at 04:34 AM
RE: Question (newb) about some api - by Plan-1130 on 11-15-2006 at 11:24 PM
RE: Question (newb) about some api - by CookieRevised on 11-16-2006 at 12:53 AM
RE: Question (newb) about some api - by Plan-1130 on 11-16-2006 at 06:32 AM


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