|
Messenger Plus! Live - Scripting Documentation
Objects Reference - MsgPlusMsgPlus::CreateWndThe MsgPlus::CreateWnd function creates a new window based on an Interface XML file. For more information, see Windows for your Script. 该msgplus : : createwnd功能,创建一个新的窗口的基础上, Syntax
Parameters
Return ValueA PlusWnd object that you can use to control every aspect of the new window. If the window cannot be created, the return value is null. 1 pluswnd对象,您可以使用控制的各个方面,新 This function typically fails for the following reason: 这项功能通常失败,原因如下:
RemarksInterface XML files should always be validated for both syntax and compliance with the interface windows' schema file. In some occasions, the file can appear to be validated but still fail to load. This can be caused by a missing required attribute (like Height for some controls), duplicated control/element identifiers and other runtime specific reasons. 接口XML文件应始终验证双方的语法和 Images specified in a script's interface file are searched in two places. First, Messenger Plus! looks in the "Images" sub-directory of the script's directory. That's where you should store all your custom made pictures. If the image cannot be found there, Messenger Plus! looks in its own resources for a matching name. This can be useful to reuse pictures seen in Messenger Plus! windows without having to bundle them with your script. Be careful to check if the images are still there when an update of Messenger Plus! is released though. 图像指定在一个脚本的接口文件是搜查,在两个地方。 You should refrain from creating windows when the user has enabled Messenger Lock. This can be checked with MessengerIsLocked. 你应避免创建Windows当用户启用信使 Messenger Plus! 4.23 and earlier: enumeration names are not available, numbers must be used instead. Function Information
See AlsoMsgPlus Object, Windows for your Script, Interface Windows Reference. SponsorLinksScripts文档目录 脚本库 FAQ |