Ozzy10 Posted September 26, 2005 Report Share Posted September 26, 2005 This is a simple example of a dialog with icons in the drop down list you need the following in the same folder as you save this code to VIEWS.MDX mdx.dll pop.ico menu * {  test: dialog -m test test } dialog test {  title "New Project"  size -1 -1 102 100  option dbu  combo 1, 2 2 97 97, sort size } alias ico.test { return $shortfn($scriptdir $+ $1- $+ .ico) } alias mdx.test { return $shortfn($scriptdir $+ mdx.dll) } alias views.test { return $shortfn($scriptdir $+ VIEWS.MDX) } ;example by Ozzy10 on *:dialog:test:init:*:{  dll $mdx.test SetMircVersion $version  dll $mdx.test MarkDialog $dname  dll $mdx.test SetFont $dname  dll $mdx.test SetColor $dname  dll $mdx.test SetControlMDX $dname 1 ComboBoxEx drop > $views.test  did -i $dname 1 1 iconsize small  did -i $dname 1 1 seticon 0, $+ $ico.test(pop)  did -a $dname 1 1 City Chats  did -a $dname 1 1 Computing  did -a $dname 1 1 Entertainment  did -a $dname 1 1 General  did -a $dname 1 1 Health & Medicine  did -a $dname 1 1 Interests  did -a $dname 1 1 Lifestyle  did -a $dname 1 1 Music  did -a $dname 1 1 News  did -a $dname 1 1 Peers  did -a $dname 1 1 Religion  did -a $dname 1 1 Romance  did -a $dname 1 1 Teens  did -c $dname 1 2 } Link to comment Share on other sites More sharing options...
Recommended Posts