Jump to content

toolbar


Guest LAS

Recommended Posts

on *:start:{ set %type Offline | tool }
alias tool { if ($dialog(tool)) dialog -x tool tool | dialog -m tool tool }
dialog tool {
 title "Example"
 size -1 -1 1000 18
 option dbu
 list 1, 1 2 1000 14, size
}
on *:dialog:tool:init:0:{
 mdx SetMircVersion $version 
 mdx MarkDialog $dname
 mdx SetControlMDX $dname 1 ToolBar list arrows flat wrap nodivider > $bars
 mdx SetDialog $dname style
 mdx SetBorderStyle 1
 mdx SetFont $dname 1 14 500 Tahoma
 did -i $dname 1 1 bmpsize 16 16
 did -i $dname 1 1 setimage icon small $sicon(%type)
 did -i $dname 1 1 setimage icon small $sicon(connect)
 did -i $dname 1 1 setimage icon small $sicon(MP3)
 did -i $dname 1 1 setimage icon small $sicon(fav)
 did -i $dname 1 1 setimage icon small $sicon(cup)
 did -a $dname 1 +a 1 %type $chr(9) $onl(%type)
 did -a $dname 1 +a 2 Connection $chr(9) Connection Dialog
 did -a $dname 1 +a 3 MP3 $chr(9) Apocalypse MP3
 did -a $dname 1 +a 4 Favorits $chr(9) Favorit Sites
 did -a $dname 1 +a 5 Away $chr(9) Away 
 ktools DockToolbar $dialog($dname).hwnd
}

 

ok here is my question.. as you can see if I did this.. the tool bar would come out like... a normal tool bar but it wont have the drop downs like most toolbars have. What I want to know is how would I get the buttions to have a drop down on them as well. Anyhelp is welcome.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...