I cannot get the value of the item selected in a combobox.....
whats wrong? is it the integer number? should it be a pointer, an array?
I tried it all but non seems to work
Note: it is the first time I am using comboboxes and I have referrenced from MSDNCode:switch (Message) { case WM_COMMAND: { switch(LOWORD(wParam)) { case IDC_CON: { number = SendMessage(hCombo,CB_GETCURSEL, 0,0); //Global variable }break; } }break; } //
Compiler : DEV C++
OS: WIN XP