What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » HELP - Resizing a child window!

HELP - Resizing a child window!
Author: Message:
whiz
Senior Member
****


Posts: 568
Reputation: 8
– / – / Flag
Joined: Nov 2008
O.P. RE: HELP - Resizing a child window!
quote:
Originally posted by SmokingCookie
You need to specify a PlaceHolderElement at the size and position of the child window.
Okay, done that.

quote:
Originally posted by SmokingCookie
Then hook WM_SIZE into your parent window and use PlusWnd::GetElementPos() to retrieve the relative coordinates, which you need to pass to SetWindowPos() in User32.dll.
I don't know where to start for doing that...  something like this?
Javascript code:
var WndCommandBar_Shell = MsgPlus.CreateWnd("Windows.xml", "WndCommandBar_Shell", 0); // parent
var WndCommandBar_CMain = MsgPlus.CreateChildWnd(WndCommandBar_Shell, "Windows.xml", "WndCommandBar_CMain", 12, 2); // child
Interop.Call("User32", "SetWindowPos", WndCommandBar_Shell.Handle, WndCommandBar_Shell.GetElementPos());

09-12-2009 02:35 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
HELP - Resizing a child window! - by whiz on 09-12-2009 at 01:28 PM
RE: HELP - Resizing a child window! - by SmokingCookie on 09-12-2009 at 02:24 PM
RE: HELP - Resizing a child window! - by whiz on 09-12-2009 at 02:35 PM
RE: HELP - Resizing a child window! - by SmokingCookie on 09-12-2009 at 02:49 PM
RE: HELP - Resizing a child window! - by whiz on 09-12-2009 at 03:09 PM
RE: HELP - Resizing a child window! - by Matti on 09-12-2009 at 03:32 PM
RE: HELP - Resizing a child window! - by whiz on 09-13-2009 at 09:59 AM
RE: HELP - Resizing a child window! - by SmokingCookie on 09-12-2009 at 03:33 PM
RE: HELP - Resizing a child window! - by Matti on 09-12-2009 at 03:42 PM
RE: HELP - Resizing a child window! - by SmokingCookie on 09-12-2009 at 03:46 PM
RE: HELP - Resizing a child window! - by Matti on 09-13-2009 at 10:10 AM
RE: HELP - Resizing a child window! - by whiz on 09-13-2009 at 10:33 AM
RE: HELP - Resizing a child window! - by SmokingCookie on 09-14-2009 at 07:39 AM
RE: HELP - Resizing a child window! - by whiz on 09-14-2009 at 03:55 PM
RE: HELP - Resizing a child window! - by Matti on 09-14-2009 at 05:20 PM
RE: HELP - Resizing a child window! - by SmokingCookie on 09-14-2009 at 05:20 PM
RE: HELP - Resizing a child window! - by whiz on 09-14-2009 at 05:58 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