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

Detecting Window Resize
Author: Message:
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: Detecting Window Resize
A simpler way using just scripts:

Use a timer (100 ms interval for fastest detection) and the
GetWindowRect function to check for changes. When the contact list is destroyed (there's an event) stop all timers and don't create new ones. When it's created resume timing.

quote:
Thanks for the help and info on where I should start. I'll try it. I was going to use the Messenger API to get the width, and then check it with a timer... so it kinda was possible :p
That would've worked, except the Messenger API would (1) take a while to initialize, (2) make Windows Messenger run, (3) not be the fastest way to get the width, and (4) not even work all the time. :P

This post was edited on 10-31-2006 at 11:02 PM by deAd.
10-31-2006 11:01 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Detecting Window Resize - by Spunky on 10-31-2006 at 04:11 PM
RE: Detecting Window Resize - by RaceProUK on 10-31-2006 at 10:48 PM
RE: Detecting Window Resize - by Spunky on 10-31-2006 at 10:57 PM
RE: Detecting Window Resize - by deAd on 10-31-2006 at 11:01 PM
RE: Detecting Window Resize - by RaceProUK on 10-31-2006 at 11:18 PM
RE: Detecting Window Resize - by deAd on 10-31-2006 at 11:44 PM
RE: Detecting Window Resize - by Spunky on 10-31-2006 at 11:46 PM
RE: Detecting Window Resize - by deAd on 10-31-2006 at 11:53 PM
RE: Detecting Window Resize - by CookieRevised on 11-01-2006 at 04:19 PM
RE: Detecting Window Resize - by Spunky on 11-01-2006 at 04:45 PM
RE: Detecting Window Resize - by RaceProUK on 11-01-2006 at 06:53 PM
RE: Detecting Window Resize - by Spunky on 11-01-2006 at 06:57 PM
RE: RE: Detecting Window Resize - by CookieRevised on 11-02-2006 at 01:33 AM
RE: Detecting Window Resize - by vikke on 11-01-2006 at 07:07 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