If you created the combobox dynamically then you have the HWND of the combobox child window (that is the return value of CreateWindowEx) so you dont have to issue GetDlgItem() to get its HWND! You communicate with the combobox by sending messages to that HWND!
Here is a set of combobox related messages:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb775845%28v=vs.85%29.aspx[
^]
You have to send CB_GETCURSEL message to the HWND of your combobox to find out if an item is selected:
int selected_index = (int)SendMessage(hwnd_combo, CB_GETCURSEL, 0, 0);
if (selected_index == CB_ERR)
{
}