What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] API Help.

[?] API Help.
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [?] API Help.
quote:
Originally posted by CookieRevised
The expression used in the tenary check already returns true or false, therefore no need for putting it into a tenary check in the first place. (and parameter pPlusWnd is missing)

=>>>>
code:
function CheckWindow(pPlusWnd){
        return Interop.Call('user32', 'GetForegroundWindow') === pPlusWnd.Handle;
}

;)
Good point I thought this was something you were going to add when I saw you had posted in the thread.

I was assuming he had already declared pPlusWnd else where that is why it wasn't passed as a parameter.

I hope roflmao456 can figure out the other ones on his own tho.
06-28-2007 07:08 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] API Help. - by roflmao456 on 06-25-2007 at 03:23 AM
RE: [?] API Help. - by CookieRevised on 06-25-2007 at 03:49 AM
RE: [?] API Help. - by matty on 06-25-2007 at 04:40 AM
RE: [?] API Help. - by roflmao456 on 06-25-2007 at 10:51 PM
RE: [?] API Help. - by matty on 06-26-2007 at 01:17 AM
RE: [?] API Help. - by roflmao456 on 06-26-2007 at 02:33 AM
RE: [?] API Help. - by CookieRevised on 06-27-2007 at 11:34 PM
RE: [?] API Help. - by matty on 06-28-2007 at 07:08 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