CComboBox
-
Hi all, I have to display some dropdown combobox so I am using CComboBox::Create. My combo regularly appears with the edit part the right size, but when I cick on in the list part is 0-heigthed. Some silly question: - what is the heigth of a combo? the edit heigth or the edit + list heigth? - is the CComboBox::SetItemHeigth suitable for me? I tried it but nothing changed! Could you please help me? Best regards. Andrea :)
-
Hi all, I have to display some dropdown combobox so I am using CComboBox::Create. My combo regularly appears with the edit part the right size, but when I cick on in the list part is 0-heigthed. Some silly question: - what is the heigth of a combo? the edit heigth or the edit + list heigth? - is the CComboBox::SetItemHeigth suitable for me? I tried it but nothing changed! Could you please help me? Best regards. Andrea :)
This worked for me:
cb.Create(WS_CHILD|WS_VISIBLE|WS_VSCROLL|CBS_DROPDOWNLIST,CRect(10,10,200,150),this,987);
What are you doing different?
Five birds are sitting on a fence. Three of them decide to fly off. How many are left?
-
This worked for me:
cb.Create(WS_CHILD|WS_VISIBLE|WS_VSCROLL|CBS_DROPDOWNLIST,CRect(10,10,200,150),this,987);
What are you doing different?
Five birds are sitting on a fence. Three of them decide to fly off. How many are left?
Thanx guy this worked for me also!!!! Thanx a lot:) :)