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

Get window width...
Author: Message:
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: Get window width...
code:
var RECT = Interop.Allocate(16);
Interop.Call('User32', 'GetWindowRect', <window handle here>, RECT);
var left = RECT.ReadDWORD(0);
var right = RECT.ReadDWORD(8);
var width = right - left;
07-25-2006 07:17 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Get window width... - by deAd on 07-25-2006 at 07:00 PM
RE: Get window width... - by Eljay on 07-25-2006 at 07:17 PM
RE: Get window width... - by deAd on 07-25-2006 at 07:30 PM
RE: Get window width... - by Eljay on 07-25-2006 at 07:33 PM
RE: Get window width... - by deAd on 07-25-2006 at 07:46 PM
RE: Get window width... - by matty on 07-25-2006 at 08:13 PM
RE: Get window width... - by deAd on 07-25-2006 at 09:33 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