What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Conversation window

Conversation window
Author: Message:
KnRd_WC
Junior Member
**

Avatar
Florian PAQUET

Posts: 74
Reputation: 1
35 / Male / Flag
Joined: Aug 2006
RE: Conversation window
If I understood well your message, that's fixed !

With these lines :

Before :
code:
        Interop.Call("User32.dll","ShowWindow",ChatWnd.Handle,9);        Interop.Call("User32.dll","SetForegroundWindow",ChatWnd.Handle);


After :
code:
HandleActiveWindow=Interop.Call("User32.dll","GetActiveWindow");
        OnForeground=0
        Windows = Messenger.CurrentChats
        e = new Enumerator(Windows)
        for(;!e.atEnd();e.moveNext()) {
            if (e.item().Handle==HandleActiveWindow) {
                OnForeground=1
            }
        }
        if (OnForeground==0&&HandleActiveWindow!=ChatWnd.Handle) {
            Interop.Call("User32.dll","ShowWindow",ChatWnd.Handle,9);
            Interop.Call("User32.dll","SetForegroundWindow",ChatWnd.Handle);
        }

I hope that it is what you want.... :S

I use Tabs too, and I think the Tabs are located in a window attached to the top of chat windows, so, there's no problem with the Tabs.... Now ! (I tested my script with tabs, there's no problem, I think...) :P

The link, one more time... xD

>> AutoForeground 1.1

This post was edited on 08-23-2006 at 05:14 PM by KnRd_WC.
08-23-2006 04:07 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Conversation window - by tomjbyrne on 08-21-2006 at 08:56 AM
RE: Conversation window - by KnRd_WC on 08-21-2006 at 10:36 AM
RE: Conversation window - by tomjbyrne on 08-21-2006 at 10:46 AM
RE: Conversation window - by KnRd_WC on 08-21-2006 at 10:52 AM
RE: Conversation window - by tomjbyrne on 08-21-2006 at 01:16 PM
RE: Conversation window - by KnRd_WC on 08-21-2006 at 01:34 PM
RE: Conversation window - by tomjbyrne on 08-21-2006 at 02:44 PM
RE: Conversation window - by KnRd_WC on 08-21-2006 at 03:00 PM
RE: Conversation window - by RaceProUK on 08-21-2006 at 03:43 PM
RE: Conversation window - by KnRd_WC on 08-21-2006 at 04:09 PM
RE: Conversation window - by Jiggs on 08-23-2006 at 12:03 PM
RE: Conversation window - by matty on 08-23-2006 at 12:06 PM
RE: Conversation window - by KnRd_WC on 08-23-2006 at 02:08 PM
RE: Conversation window - by artfuldodga on 08-23-2006 at 02:20 PM
RE: Conversation window - by KnRd_WC on 08-23-2006 at 03:06 PM
RE: Conversation window - by artfuldodga on 08-23-2006 at 03:47 PM
RE: Conversation window - by KnRd_WC on 08-23-2006 at 04:07 PM
RE: Conversation window - by artfuldodga on 08-23-2006 at 05:29 PM
RE: Conversation window - by KnRd_WC on 08-23-2006 at 05:47 PM
RE: Conversation window - by artfuldodga on 08-24-2006 at 12:39 PM
RE: Conversation window - by CookieRevised on 08-24-2006 at 05:41 PM
RE: Conversation window - by artfuldodga on 08-24-2006 at 05:46 PM
RE: RE: Conversation window - by KnRd_WC on 08-24-2006 at 11:17 PM
RE: RE: RE: Conversation window - by CookieRevised on 08-25-2006 at 12:29 AM
RE: Conversation window - by artfuldodga on 08-25-2006 at 12:15 AM
RE: Conversation window - by KnRd_WC on 08-25-2006 at 12:26 AM
RE: Conversation window - by KnRd_WC on 08-25-2006 at 12:50 AM
RE: Conversation window - by artfuldodga on 08-25-2006 at 12:51 AM
RE: Conversation window - by KnRd_WC on 08-25-2006 at 01:29 AM
RE: Conversation window - by artfuldodga on 08-25-2006 at 02:04 AM
RE: Conversation window - by KnRd_WC on 08-25-2006 at 02:30 AM
RE: Conversation window - by RaceProUK on 08-25-2006 at 10:04 AM
RE: Conversation window - by KnRd_WC on 08-25-2006 at 10:41 AM
RE: Conversation window - by artfuldodga on 08-25-2006 at 01:04 PM
RE: RE: Conversation window - by CookieRevised on 08-25-2006 at 10:52 PM
RE: Conversation window - by KnRd_WC on 08-25-2006 at 08:51 PM
RE: Conversation window - by artfuldodga on 08-25-2006 at 09:08 PM
RE: Conversation window - by KnRd_WC on 08-25-2006 at 09:11 PM
RE: Conversation window - by KnRd_WC on 08-25-2006 at 09:30 PM
RE: Conversation window - by artfuldodga on 08-25-2006 at 10:34 PM
RE: Conversation window - by KnRd_WC on 08-25-2006 at 10:57 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