The easiest way is, when declaring the combobox, set the height bigger. The height property of the combobox is actually the height of the list when extended + the height of the combobox. The height of the combobox when the list is not extended is determined by the font size.
Speaking of comboboxes, I can't even get the list to come up.
I declared the combobox as follows
Code:
CreateWindowEx(WS_EX_LEFT, "COMBOBOX", "0", CBS_DROPDOWN |
CBS_AUTOHSCROLL | CBS_DISABLENOSCROLL | CBS_HASSTRINGS | WS_CHILD | WS_VISIBLE,
140, 65, 350, 500, hwnd, (HMENU)1999, GetModuleHandle(NULL), NULL);
& Tried to add a string to it:
Code:
SendMessage(GetDlgItem(hwnd, CTRL_OUT), CB_ADDSTRING, 0, (LPARAM)outputstack);
where char *outputstack = "5607.000000";/ / outputstack can have that value for now