CComboBox problem
Hi there,
My CComboBox is refusing to show its drop down list. It used to work, but now when you try to show the list it looks as shown in the attached picture. If I roll the scroll wheel of the mouse I can scroll trough the list, so I know the data is in there. Does anyone know what's going on?
Thank you.
[332 byte] By [
wilsonian] at [2007-11-18 19:18:02]

# 3 Re: CComboBox problem
did u change the height of the combo?? did u use the resource editor to insert the combo ?? or is it ownerdraw?? can't help with no detailed info on the problem!! But this should be because of the height!.
# 4 Re: CComboBox problem
Sorry, I used the resource editor. It's just a normal CComboBox, not owner draw or anything. I haven't touched it for weeks and this problem happened today or yesterday.
I forgot to point out before that in fact this has happened to 4 combo boxes on 4 different property pages, all at the same time. So I don't think it's something I accidentally changed on the combo box, I think it's something else that's affecting it.
# 5 Re: CComboBox problem
hi,
IF u not creating ComBoBox at runtime then one thing u can do his. Go to ComBoBox where u placed for eg.In DialogBox Increase the size of the Combobox by draging. I am attached the Sample CCombobox if u see that u able to understand.
Regards
sai
# 6 Re: CComboBox problem
Thank you, but that's not the problem. In the resource editor the size of the dropdown list is plenty big enough.
# 7 Re: CComboBox problem
Hi,
May be it is because that there is no space in the parent window of the combobox(may be a dialog or so) for displaying at least one item in the listbox. I have experienced the same and I found that the listbox appears properly if there is enough space in the parent window to display fully at least one item.
Hope this will help.
Manju