hi,
CB_GETCURSEL is alway returning zero although i have selected some nozero index... Why?
When i open it in debug mode and see value of 'sel' after this statement it is always zero ... why??? what could be wrong...Code:sel=SendMessage(dlg->hHost,CB_GETCURSEL,0,0);
dlg->hHost is HWND to combo box.