Click to See Complete Forum and Search --> : Controls - CComboBox
July 15th, 1999, 07:10 AM
I have added a CComboBox to my dialog and for some reason when I run it and select the down arrow of the CComboBox nothing displays below. I have tried inserting values in both the resource file by inserting them in properties and I have tried inserting them in the OnInitDialog routine of the dialog in which the CComboBox is a member of. The CComboBox does list the items when a characters corresponding to one of the items in the list is pressed. This shows me that the values are associated with the CComboBox but that it is just not opening down. What am I doing wrong?
Martin Speiser
July 15th, 1999, 07:22 AM
Hi,
you're doing nothing wrong. Only CComboBox with an edit control opens with the down arrow, a CComboBox with a static only changes the content of the static.
Martin
July 15th, 1999, 08:31 AM
The text inside the CComboBox changes alright but when I try to pull down the menu, it only displays a pixel size line below the combo box. This is the main problem I am facing. I need to know what needs to be done to be able to pull down the menu.
-Dave
Martin Speiser
July 15th, 1999, 09:48 AM
Hi Dave,
sorry, I understood you wrong. The solution for your problem is, go to the RessourceView, click on the arrow of the combobox, and then you can change the vertical size of the control.
Martin
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.