I've just created an application in which the user must use a combobox to decide on which key they want to use for an operation. I've added the different options by using a for loop and this line:
SendMessage(GetDlgItem(hDlg, IDC_COMBO1), CB_ADDSTRING, 0, (LPARAM)Keyboard[x].c_str());
However, now the options are added I need to find which item the user has selected.
I've looked around the web for hours and tried various things, but none worked.
Please Help,
Regards,
Joe