Simon Posted September 26, 2005 Report Share Posted September 26, 2005 Just posted this on another site but thought I'd double my chances of a reply by having it here too. I've some experience with dialogs and the use of dlls to spice things up a bit. However, I have just now, for the first time tried to put icons into a combo box & am having a tad of trouble. dll $mdx SetControlMDX $dname 10 ComboBoxEx drop > $vdll did -i $dname 10 1 iconsize small did -i $dname 10 1 seticon 0, $+ ico\globe2.ico did -a $dname 10 1 1 0 0 City Chats did -a $dname 10 1 1 0 0 Computing did -a $dname 10 1 1 0 0 Entertainment did -a $dname 10 1 1 0 0 General did -a $dname 10 1 1 0 0 Health & Medicine did -a $dname 10 1 1 0 0 Interests did -a $dname 10 1 1 0 0 Lifestyle did -a $dname 10 1 1 0 0 Music did -a $dname 10 1 1 0 0 News did -a $dname 10 1 1 0 0 Peers did -a $dname 10 1 1 0 0 Religion did -a $dname 10 1 1 0 0 Romance did -a $dname 10 1 1 0 0 Teens did -c $dname 10 5 1 The icon is displaying no problem at all but when I actually click on the combo it is not dropping down to show the menu. Can anyone esle see what obvious thing I am missing here? Thanks in advance Link to comment Share on other sites More sharing options...
The Gate Keeper Posted September 26, 2005 Report Share Posted September 26, 2005 (edited) for the actual dialog, don't use dropdown setting, keep it as simple. And from there, the DLL will convert it to drop down. Also, with the did -c, make sure you check the second box, as the first is used to hold the data (if it applies, i'm not sure, well yea, i'm guessing here based on experience with other mdx features ) Edited September 26, 2005 by The Gate Keeper Link to comment Share on other sites More sharing options...
Ozzy10 Posted September 26, 2005 Report Share Posted September 26, 2005 heres a working example i have just thrown together vegyo hope this is what you ment 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) } 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
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 accountSign in
Already have an account? Sign in here.
Sign In Now