DevMSN+

酷酷的MSN插件,随心所欲MSN

Messenger Plus! Live - Scripting Documentation

Objects Reference - MsgPlus

MsgPlus::CreateChildWnd

The MsgPlus::CreateChildWnd function creates a child window for an existing interface window. It can be used to create wizards or any other kind of more complex windows.

溴>


Messenger Plus! Live -脚本文件



物体的参考-m sgplus
msgplus : : createchildwnd


该msgplus : : createchildwnd功能,创建一个子窗口,为一
现有的界面窗口。它可以用来创造奇才队或任何其他
种更复杂的窗口。

该msgplus : : createchildwnd功能,创建一个子窗口,为一
现有的界面窗口。它可以用来创造奇才队或任何其他
种更复杂的窗口。

Syntax

[object] CreateChildWnd(
    [object] Parent,
    [string] XmlFile,
    [string] WindowId,
    [number] PosX,
    [number] PosY,
    [boolean,optional] Visible
);

Parameters

Parent
[object] Existing PlusWnd object previously created with CreateWnd.
XmlFile
[string] Path to the Interface XML file. This is where the entire window is defined. The path is relative to the script's directory by default, to override this behavior, prefix the path with "\". Example: "\C:\directory\windows.xml".
WindowId
[string] Unique identifier of the window to create. A window with the same identifier has to be found in the XML file for the function to succeed.
PosX
[number] Horizontal position of the child window in the parent, in pixels.
PosY
[number] Vertical position of the child window in the parent, in pixels.
Visible
[boolean,optional] Specifies if the window is to be shown automatically after creation (default) or not.

Return Value

A PlusWnd object that you can use to control every aspect of the new child window. If the window cannot be created, the return value is null.

1 pluswnd对象,您可以使用控制的各个方面,新
子窗口。如果窗口无法建立,返回值是
空。

1 pluswnd对象,您可以使用控制的各个方面,新
子窗口。如果窗口无法建立,返回值是
空。

This function typically fails for the following reason:

这项功能通常失败,原因如下:

这项功能通常失败,原因如下:

  • The specified XML interface file is not valid.

Remarks

This function is to be used by advanced users, used to creating interface windows with CreateWnd.

这个功能是利用先进的用户,用来创造
界面Windows与createwnd 。

这个功能是利用先进的用户,用来创造
界面Windows与createwnd 。

Function Information

Object MsgPlus
Availability Messenger Plus! Live 4.00

See Also

MsgPlus Object, CreateWnd.

msgplus对象,
createwnd 。

msgplus对象,
createwnd 。

  Sponsor

  Links

Scripts文档目录 脚本库 FAQ
copyright devmsn.com