What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » controls in menus

controls in menus
Author: Message:
h.robertson
New Member
*


Posts: 3
Joined: Dec 2006
O.P. RE: controls in menus
yer. i put the _ just for the post.

now i am having problems with the window im trying to make..

code:
function OnEvent_MenuClicked(itemid){
    if (itemid == "MnuConfig"){
    confwnd = MsgPlus.CreateWnd("ConfigWindow.xml","ConfigWindowID");
    }
}


ConfigWindow.xml:
code:
<?xml version="1.0" encoding="UTF-16"?>
<Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:msgplus:interface PlusInterface.xsd" Name="RealPlayer Configuration">

    <Window Id="ConfigWindowID" Version="1">
        <Attributes>
            <TopMost>true</TopMost>
        </Attributes>
        <Position Width="337" Height="236"/>
        <Controls>
            <Control xsi:type="StaticControl" Id="lblInterval">
                <Position Top="4" Width="50" Height="33" Left="4"/>
                <Caption>Update Interval:</Caption>
            </Control>
            <Control xsi:type="EditControl" Id="txtInterval">
                <Position Top="4" Width="121" Left="60"/>
            </Control>
        </Controls>
    </Window>
</Interfaces>

i click the button on the menu and nothing happens...

i have looked at the interfaces from MsgPlusLiveRes.dll but i cant find a simple example

thanks

This post was edited on 12-12-2006 at 05:07 PM by h.robertson.
12-12-2006 05:07 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
controls in menus - by h.robertson on 12-12-2006 at 03:34 PM
RE: controls in menus - by Felu on 12-12-2006 at 03:41 PM
RE: controls in menus - by h.robertson on 12-12-2006 at 03:47 PM
RE: controls in menus - by Spunky on 12-12-2006 at 04:08 PM
RE: controls in menus - by h.robertson on 12-12-2006 at 05:07 PM
RE: controls in menus - by Spunky on 12-12-2006 at 05:08 PM
RE: controls in menus - by gravier on 12-13-2006 at 12:03 PM
RE: controls in menus - by NanaFreak on 12-13-2006 at 12:08 PM
RE: controls in menus - by Eljay on 12-13-2006 at 12:24 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