What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » help with msgplus windows please

help with msgplus windows please
Author: Message:
Volv
Skinning Contest Winner
*****

Avatar

Posts: 1233
Reputation: 31
35 / Male / Flag
Joined: Oct 2004
RE: help with msgplus windows please
I imagine you would have to use something like (thanks to dt):

code:
var theRECT = Interop.Allocate(16); //long = 4 so size = 4 * 4//

Interop.Call("user32", "GetWindowRect", PlusWnd.Handle, theRECT);

    var left = theRECT.ReadDWORD(0); //left
    var top = theRECT.ReadDWORD(4); //Top
    var right = theRECT.ReadDWORD(8 ); //Right
    var bottom = theRECT.ReadDWORD(12); //Bottom

var WndWidth = right - left;


This post was edited on 11-05-2007 at 06:07 AM by Volv.
11-05-2007 06:07 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
help with msgplus windows please - by waynewilson2 on 11-04-2007 at 07:43 PM
RE: help with msgplus windows please - by Matti on 11-04-2007 at 07:57 PM
RE: help with msgplus windows please - by waynewilson2 on 11-04-2007 at 08:04 PM
RE: help with msgplus windows please - by ArkaneArkade on 11-04-2007 at 09:39 PM
RE: help with msgplus windows please - by waynewilson2 on 11-05-2007 at 01:07 AM
RE: help with msgplus windows please - by roflmao456 on 11-05-2007 at 01:11 AM
RE: help with msgplus windows please - by ArkaneArkade on 11-05-2007 at 01:16 AM
RE: help with msgplus windows please - by waynewilson2 on 11-05-2007 at 05:36 AM
RE: help with msgplus windows please - by Volv on 11-05-2007 at 05:47 AM
RE: help with msgplus windows please - by waynewilson2 on 11-05-2007 at 05:48 AM
RE: help with msgplus windows please - by Volv on 11-05-2007 at 06:07 AM
RE: help with msgplus windows please - by waynewilson2 on 11-05-2007 at 06:08 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