Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Filling a combo box


1 reply to this topic

smm

smm
  • Members
  • 10 posts

Posted 02 January 2006 - 17:18

Hello,
I am trying to fill a combo box with a list. The list is successfully filled with items. I have then assigned it to a combo box but the combo box is displayed, there are no items in it. Can anyone help, plz?

Sample used as test:
MyList = ListCreate(STRINGLIST);
ListAddString( MyList,"a",AFTER);
CtrlSetList(szDlg,ID_CBODB, MyList);
CtrlSetCurSel(szDlg, ID_CBODB, "a");

smm

smm
  • Members
  • 10 posts

Posted 03 January 2006 - 08:47

I found the answer!

I increased the height setting of the combo box (300!) . There's is a bug in MSI it computes the drop down height differently on Windows 2000.