+ 2

MFC combo box height of drop down

Hi I have added a combo box on MFC dialog. It's width i have extended as per my need into designer itself. I am concerned about height of the combobox when user clicks on arrow to select an item from a list. Please note that I don't want to increase visible area of single item on list... What I want is how many items are visible at a time. For example, list has values A, B, C , D and E. What I want is to show all five values to user for selection of one when user clicks on drop list of combobox. . Any thoughts would be of great help.

6th Jul 2021, 10:24 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
3 Antworten
+ 1
Martin Taylor nd Ipang , thanks for sharing these. None of these worked for me. In fact I have custom class for combo box which is inturn derived from cComboBoxEx. I tried all these options , but none of them worked Any thoughts on this issue ?
7th Jul 2021, 8:05 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 1
Ketan, Sorry about that. Actually, I was only sharing a finding from web search cause Idk MFC, left alone control customisation in it. I think you might improve your chances by also posting this in MFC specific forums that you know, to get specialists answers. Good luck! 👍
7th Jul 2021, 11:00 PM
Ipang