   Problem w/ ComboBox in Windows programming (not MFC)
  Heya, my combobox isn't displaying all the items in a windows application that uses OpenGL, (& not a MFC application). (just using functions from <windows.h>)Created a dialog box w/ a combobox.Tried:1. Populate data through the "data property" (right clicked on combobox, clicked "Properties"). But it doesn't worked.2. Coded into my Dialog procedure callback function:In LRESULT CALLBACK WndProc, created my dialog box on a menu command:DialogBox((HINSTANCE)GetWindowLong(hWnd,GWL_HINSTANCE), MAKEINTRESOURCE(IDD_DIALOG_CONFIG), hWnd, (DLGPROC)DlgProcConfig);Then in BOOL CALLBACK DlgProcConfig(HWND hDlg,...):switch(uMsg){case WM_INITDIALOG:{SendMessage( GetDlgItem( hDlg, IDC_COMBO_JULIAPRESETS ), CB_ADDSTRING, 0, (LPARAM)"hello" );SendMessage( GetDlgItem( hDlg, IDC_COMBO_JULIAPRESETS ), CB_ADDSTRING, 0, (LPARAM)"hey" );SendMessage( GetDlgItem( hDlg, IDC_COMBO_JULIAPRESETS ), CB_ADDSTRING, 0, (LPARAM)"hi" );SendMessage( GetDlgItem( hDlg, IDC_COMBO_JULIAPRESETS ), CB_SETCURSEL, (WPARAM)1, 0);int count = SendMessage( GetDlgItem( hDlg, IDC_COMBO_JULIAPRESETS ), CB_GETCOUNT, 0, 0 );I added the strings, selected index "1" & the combo box displayed "hey", but that was it, the drop down list didn't have anything (except some scroll arrows). The count returned is 3. Also, had to set the combobox's "Has String" property to "true", (else nothing showed up).also tried:SendMessage( GetDlgItem( hDlg, IDC_COMBO_JULIAPRESETS ), CB_SHOWDROPDOWN, (WPARAM)(BOOL)true, 0);or CB_SELECTSTRINGstill didn't work.I've read the MSDN combo box pages & other posts in the forum, but no luck.Please help, greatly appreciated.Thanks   
  Did you set the combos height big enough?Combos are a bit tricky, in the dialog editor click on the open button and the size rectangle changes. Now you can adjust the height of the popup listbox.   ;  set bigger size for ur combo box(height), this size include drop down menu, so u specified too small size.   ;  Thank you for the suggestions!ok, so it turns out I had to set the properties: "No Integral Height" to true, so Windows will resize the combobox for me, and "Owner Draw" to "No", so I won't have to specify the height, & Windows draws the drop down list.   