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

Pages: (2): « First « 1 [ 2 ] Last »
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
waynewilson2
Junior Member
**

Avatar

Posts: 55
Joined: Oct 2007
O.P. RE: help with msgplus windows please
ok, thnx
[Image: waynewilson2@hotmail.com-12.png]
11-05-2007 06:08 AM
Profile E-Mail PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« 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