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:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: help with msgplus windows please
Here you go! For more options, check out the SetWindowPos MSDN page. ;)
code:
function SetWindowSize(PlusWnd, Width, Height) {
   var HWND_TOP = 0;
   var SWP_NOMOVE = 0x2;
   var SWP_NOZORDER = 0x4;
   Interop.Call("user32", "SetWindowPos", PlusWnd.Handle, HWND_TOP, 0, 0, Width, Height, SWP_NOMOVE | SWP_NOZORDER);
}

//Usage
SetWindowSize(tehwin, 500, 400);

This post was edited on 11-10-2007 at 04:04 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
11-04-2007 07:57 PM
Profile E-Mail PM Web 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