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. Interop.Call("user32.dll","GetActiveWindow") returns 0
Hello!
I'm trying get a currently active window handle. I found this on the forum:
code:
var handle = Interop.Call("user32.dll","GetActiveWindow")
However if active window not related to WLM or MPL, it always returns 0

Any other way get handle of the active window?

Thank you.
12-22-2008 02:01 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