
combo box has no list box
As several others pointed out, you didn't set the height. Since I find
doing this in the dialog editor ugly and always unsatisfactory, I
invented my own CComboBox-derived class which always adjusts its
height on the fly. You can download this from my MVP Tips site.
joe
Quote:
>Brain cramp #1423:
>This sounds like a "duh!" problem, but the answer eludes me so far.
>I have a combo box on a CPropertyPage. I have loaded it with desired
>items both in the resource editor and in OnInitDialog. (Using just the
>resource editor didn't work.) (It just occurred to me that I haven't
>tested the dialog template.)
>I cannot drop-down the list box to see the available selections, or
>select with the lbutton. I can select the edit control and use the
>arrows to move through the control's items and thereby select one, but
>that doesn't cut it.
>Why can't I get my list box to pop-down?
Joseph M. Newcomer [MVP]
Web: http://www3.pgh.net/~newcomer
MVP Tips: http://www3.pgh.net/~newcomer/mvp_tips.htm