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:
Pinecone
New Member
*

Avatar
Coffee Powered

Posts: 9
34 / Male / Flag
Joined: Dec 2008
RE: Interop.Call("user32.dll","GetActiveWindow") returns 0
No problem. Thanks for pointing out the spelling error (corrected now).

Your previous attempts will have returned the wrong number if you were trying to use the return value of GetWindowThreadProcessId as it returns a handle to the thread that created the window, not the process id.

This post was edited on 12-23-2008 at 06:52 PM by Pinecone.
12-22-2008 06:31 AM
Profile E-Mail 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