What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Bug Reports » [324] Contact-add window despite Messenger Lock

[324] Contact-add window despite Messenger Lock
Author: Message:
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
O.P. [324] Contact-add window despite Messenger Lock
This window suddenly popped up during a Messenger Lock.

[Image: n4trmb.png]

Windows XP Service Pack 2 (5.1.2600)
Windows Live Messenger 9.0.1407
Messenger Plus! Live 4.60.0.324
Skin: Apple Live Messenger 0.2.0
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
04-11-2008 06:55 AM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [324] Contact-add window despite Messenger Lock
Already been reported check the beta forum.

I can't seem to find the thread for this for some reason

This post was edited on 04-11-2008 at 05:20 PM by matty.
04-11-2008 05:15 PM
Profile E-Mail PM Find Quote Report
ahmetgns
Veteran Member
*****

Avatar

Posts: 1343
Reputation: 8
39 / Male / Flag
Joined: Dec 2006
RE: [324] Contact-add window despite Messenger Lock
Patchou's reply to Contact Invitation when Messenger Locked

04-11-2008 08:37 PM
Profile PM Web Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
O.P. RE: [324] Contact-add window despite Messenger Lock
Then sorry about it, seems I was too lazy to have a look before posting (A)
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
04-12-2008 03:19 PM
Profile E-Mail PM Web Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: [324] Contact-add window despite Messenger Lock
Why not hide all windows created (even addons) by the Messenger process while locked? And then show them when it gets unlocked?
4 8 15 16 23 42
04-12-2008 03:59 PM
Profile E-Mail PM Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
O.P. RE: [324] Contact-add window despite Messenger Lock
Well, I guess there is no loop at the moment, like
code:
while(Messenger.IsLocked) {
    FindAllWindowsByProcess(MyProcess);
    foreach(window in windows) {
        if(window.visible)
            HideWindow(window);
    }
    waitSmallTime();
}
Code like this would check every X amount of time if there are unhidden windows from the current process, and such loop could even be created by a script, using the Window class names of the Windows (like Contact Invite Class etc), so why can't Plus' corecore do such? Even a short time having the window on screen before hiding it (maybe after 100 ms), would be better as leaving the window onscreen.
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
04-13-2008 07:34 AM
Profile E-Mail PM Web Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: [324] Contact-add window despite Messenger Lock
In C, I would use a hook looking for the WM_CREATE message, and then add it to a std::vector (a dynamic array which does all the allocations automatically). And then add each HWND and it's current state (hidden or visible). In the callback I would also check if Messenger is locked at that stage, and then hide the window if it is.
And then in my OnEvent_MessengerLocked event I would simply loop through the vector, hide all visible windows (but I would not update the state-vector). And in the OnEvent_MessengerUnlocked event I would set every HWND which had the state visible to visible.
I would set the state using the ShowWindow() API or similar.
4 8 15 16 23 42
04-13-2008 09:46 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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