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

New Menu Button
Author: Message:
Volv
Skinning Contest Winner
*****

Avatar

Posts: 1233
Reputation: 31
34 / Male / Flag
Joined: Oct 2004
RE: New Menu Button
quote:
Originally posted by djdannyp
you can't create brand new drop-down menus
If you want to create a button which displays a menu then it is possible. Just one moment while I experiment...

EDIT:
Definition
code:
<MenuButton Active=MouseAndKeyboard|NoSyncFocus Layout=FillLayout()>
    <ButtonIcon content="My Custom Menu"/>
    <PopupMenu2>
        <MenuItem2 Class="ToolbarMenuItem" CmdID=12345 text="Item1"/>
        <MenuItem2/>
        <MenuItem2 Class="ToolbarMenuItem" CmdID=12346 text="Item2"/>
    </PopupMenu2>
</MenuButton>

Style
code:
MenuButton
{
Background:rcclr(20017);
ContentAlign:MiddleCenter;
Tooltip:True;
}
MenuButton[IsDefault]
{
Background:rcclr(20017);
}
MenuButton[MouseWithin]
{
Background:rcbkd(20201);
}
MenuButton[Pressed]
{
Background:rcbkd(20202);
}
MenuButton[Enabled=False]
{
Background:rcbkd(2018);
}
MenuButton[KeyFocused]
{
ContentAlign:MiddleCenter|FocusRect;
}
MenuItem2[Class="ToolbarMenuItem"]
{
IconChecked:rcimg(20051);
IconCheckedHighlight:rcimg(20052);
}


Taken from 1001 and modified for simplicity.
You will need working command IDs (CmdId).

This post was edited on 01-29-2008 at 11:31 AM by Volv.
01-29-2008 11:16 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
New Menu Button - by TRash19 on 01-28-2008 at 06:19 PM
RE: New Menu Button - by djdannyp on 01-28-2008 at 08:31 PM
RE: New Menu Button - by TRash19 on 01-29-2008 at 10:04 AM
RE: New Menu Button - by djdannyp on 01-29-2008 at 11:07 AM
RE: New Menu Button - by Volv on 01-29-2008 at 11:16 AM
RE: New Menu Button - by TRash19 on 01-29-2008 at 11:56 AM


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