What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » HELP - Child Windows!

HELP - Child Windows!
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: HELP - Child Windows!
quote:
Originally posted by whiz
How come?
You are passing a string "WndBrowser" as first parameter, where the script documentation clearly says:
quote:
Parent: [object] Existing PlusWnd object previously created with CreateWnd.
So, a valid example would be:
js code:
//The parent window
var pBrowser = MsgPlus.CreateWnd("Windows.xml", "WndBrowser");
//The child window
var pSearch = MsgPlus.CreateChildWnd(pBrowser, "Windows.xml", "WndSearch", 100, 100);
As you can see, we're passing pBrowser (the created PlusWnd object) as first parameter. The reason why Plus! works this way is since you could make multiple instances of the same interface XML definition.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
02-22-2009 05:21 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
HELP - Child Windows! - by whiz on 02-22-2009 at 04:50 PM
RE: HELP - Child Windows! - by Matti on 02-22-2009 at 05:21 PM
RE: HELP - Child Windows! - by whiz on 02-23-2009 at 07:27 PM
RE: HELP - Child Windows! - by matty on 02-23-2009 at 07:28 PM
RE: HELP - Child Windows! - by whiz on 02-23-2009 at 07:46 PM
RE: HELP - Child Windows! - by matty on 02-23-2009 at 07:56 PM
RE: RE: HELP - Child Windows! - by whiz on 02-23-2009 at 08:04 PM
RE: HELP - Child Windows! - by matty on 02-23-2009 at 08:08 PM
RE: HELP - Child Windows! - by whiz on 02-23-2009 at 08:21 PM
RE: HELP - Child Windows! - by matty on 02-23-2009 at 08:29 PM
RE: HELP - Child Windows! - by whiz on 02-23-2009 at 08:33 PM
RE: HELP - Child Windows! - by matty on 02-23-2009 at 08:52 PM
RE: HELP - Child Windows! - by Matti on 02-24-2009 at 08:45 AM
RE: HELP - Child Windows! - by whiz on 02-24-2009 at 08:09 PM
RE: HELP - Child Windows! - by Matti on 02-24-2009 at 08:11 PM
RE: HELP - Child Windows! - by whiz on 02-24-2009 at 08:18 PM
RE: HELP - Child Windows! - by matty on 02-24-2009 at 08:31 PM
RE: HELP - Child Windows! - by whiz on 02-24-2009 at 08:41 PM
RE: HELP - Child Windows! - by matty on 02-24-2009 at 09:00 PM
RE: HELP - Child Windows! - by whiz on 02-25-2009 at 05:15 PM
RE: RE: HELP - Child Windows! - by pollolibredegrasa on 02-25-2009 at 05:48 PM
RE: HELP - Child Windows! - by whiz on 02-25-2009 at 06:51 PM
RE: HELP - Child Windows! - by matty on 02-25-2009 at 08:11 PM
RE: HELP - Child Windows! - by whiz on 02-25-2009 at 08:30 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