What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Skinning » Advanced Options

Advanced Options
Author: Message:
sbrown
New Member
*


Posts: 3
Joined: Jan 2008
O.P. Advanced Options
I am using the advanced options page that I got from the documentation. I followed it to a T. I have encountered an error however. I changed a check box to remove the search bar at the bottom of the messenger window with:
code:
<Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:msgplus:interface PlusInterface.xsd" Name="InterfaceOptions">
<Window Id="SkinOpt" Version="1">
  <Position Width="220" Height="104"/>
  <ChildTmpl/>
  <Controls>
   <Control xsi:type="CheckBoxControl" Id="RemSearchBar">
    <Position Top="86" Width="150" Left="5"/>
    <Caption>Remove the Search Bar</Caption>
   </Control>
  </Controls>
</Window>
</Interfaces>


I put this in the 923 file:
code:
<Element <*PlusSkin Conditions(RemSearchBar = false)*>layoutpos=bottom</*PlusSkin*> <*PlusSkin Conditions(RemSearchBar = true)*>layoutpos=none</*PlusSkin*> padding=rect(8,0,8,8) layout=filllayout() ID=Atom(ai217)>


My skininfo has this:
code:
<Options>
  <Skin>
      <OptionInterface>
    <InterfaceDir>Opts</InterfaceDir>
    <InterfaceFile>OptInterfaces.xml</InterfaceFile>
    <WindowIds>
     <WindowId Language="en-us">SkinOpt</WindowId>
    </WindowIds>
   </OptionInterface>
  </Skin>
</Options>

Every time i close and reopen the options page, the checkbox is not checked. I restart and it does not check. It does not ask to restart when I click ok. Please advise.
01-10-2008 07:56 PM
Profile E-Mail PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: Advanced Options
Err, you need to define your actual option...
code:
<Options>
   <Skin>
      <Properties>
         <BoolVal Name="RemSearchBar">
            <DispLabel>Remove the Search Bar</DispLabel>
            <DispHelp>Remove the search bar from the contact list</DispHelp>
            <Default>false</Default>
         </BoolVal>
      </Properties>
      <OptionInterface>
         ...
      </OptionInterface>
   </Skin>
</Options>
;)

This post was edited on 01-10-2008 at 08:21 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
01-10-2008 08:21 PM
Profile E-Mail PM Web Find Quote Report
sbrown
New Member
*


Posts: 3
Joined: Jan 2008
O.P. RE: Advanced Options
quote:
Originally posted by Mattike
      <Properties>
         <BoolVal Name="RemSearchBar">
            <DispLabel>Remove the Search Bar</DispLabel>
            <DispHelp>Remove the search bar from the contact list</DispHelp>
            <Default>false</Default>
         </BoolVal>
      </Properties>

but then my custom options page goes away and i get a standard one again.
01-10-2008 08:40 PM
Profile E-Mail PM Find Quote Report
sbrown
New Member
*


Posts: 3
Joined: Jan 2008
O.P. RE: Advanced Options
I found out why it wasnt working!

<OptionInterface></OptionInterface> must be before the boolvals!

thanks
01-10-2008 09:20 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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