Ya.. here is an example code of nothing happening, now keep in mind this is litterally all i have involving the Combo Box, and that all this is inside my windows WM_CREATE message.
Code:
HWND hEdit, hwndCombo1;
hwndCombo1 = CreateWindow("COMBOBOX", "",
CBS_SIMPLE | CBS_SORT | WS_VSCROLL | WS_TABSTOP,
70,
10,
150,
50,
hwnd, NULL, (HINSTANCE) GetWindowLong(hwnd, GWL_HINSTANCE), NULL);
if(hwndCombo1 == NULL)
MessageBox(hwnd, "Could not create edit box.", "Error", MB_OK | MB_ICONERROR);
SendMessage(
hwndCombo1,
CB_ADDSTRING,
0,
(long)TEXT("myString"));
Any help on making this work? i see nothing.. (Note that hEdit is a button, i removed that part of this code because i assume it is irrelevant.)