What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Interop.Call("user32.dll","GetActiveWindow") returns 0

Interop.Call("user32.dll","GetActiveWindow") returns 0
Author: Message:
V@no
Full Member
***

Avatar
sexy

Posts: 162
Joined: Mar 2004
O.P. RE: Interop.Call("user32.dll","GetActiveWindow") returns 0
Thank you. That is exactly what I needed.
There is one issue though. It returns HWND...how do I get PID from HWND or vise versa?

P.S.
I'm very new to this and not sure how to use classes...
I found this:
http://msdn.microsoft.com/en-us/library/system.di...etprocessbyid.aspx

It seems to be what I needed, bu how do I use it within MPL scripts?
12-22-2008 03:11 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Interop.Call("user32.dll","GetActiveWindow") returns 0 - by V@no on 12-22-2008 at 02:01 AM
RE: Interop.Call("user32.dll","GetActiveWindow") returns 0 - by felipEx on 12-22-2008 at 03:01 AM
RE: Interop.Call("user32.dll","GetActiveWindow") returns 0 - by V@no on 12-22-2008 at 03:11 AM
RE: Interop.Call("user32.dll","GetActiveWindow") returns 0 - by Pinecone on 12-22-2008 at 04:12 AM
RE: Interop.Call("user32.dll","GetActiveWindow") returns 0 - by V@no on 12-22-2008 at 05:45 AM
RE: Interop.Call("user32.dll","GetActiveWindow") returns 0 - by Pinecone on 12-22-2008 at 06:31 AM
RE: Interop.Call("user32.dll","GetActiveWindow") returns 0 - by V@no on 12-22-2008 at 06:42 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