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:
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 »

Messages In This Thread
[324] Contact-add window despite Messenger Lock - by mynetx on 04-11-2008 at 06:55 AM
RE: [324] Contact-add window despite Messenger Lock - by matty on 04-11-2008 at 05:15 PM
RE: [324] Contact-add window despite Messenger Lock - by ahmetgns on 04-11-2008 at 08:37 PM
RE: [324] Contact-add window despite Messenger Lock - by mynetx on 04-12-2008 at 03:19 PM
RE: [324] Contact-add window despite Messenger Lock - by vikke on 04-12-2008 at 03:59 PM
RE: [324] Contact-add window despite Messenger Lock - by mynetx on 04-13-2008 at 07:34 AM
RE: [324] Contact-add window despite Messenger Lock - by vikke on 04-13-2008 at 09:46 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